kernel-fxtec-pro1x/arch
Jeff Dike ac2a659968 uml: fix mm_context memory leak
[ Spotted by Miklos ]

Fix a memory leak in init_new_context.  The struct page ** buffer allocated
for install_special_mapping was never recorded, and thus leaked when the
mm_struct was freed.  Fix it by saving the pointer in mm_context_t and freeing
it in arch_exit_mmap.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-08 09:22:43 -08:00
..
alpha avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
arm aout: remove unnecessary inclusions of {asm, linux}/a.out.h 2008-02-08 09:22:30 -08:00
avr32 Basic PWM driver for AVR32 and AT91 2008-02-08 09:22:38 -08:00
blackfin procfs: constify function pointer tables 2008-02-08 09:22:38 -08:00
cris avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
frv CONFIG_HIGHPTE vs. sub-page page tables. 2008-02-08 09:22:42 -08:00
h8300 avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
ia64 time: fix typo in comments 2008-02-08 09:22:29 -08:00
m32r avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
m68k avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
m68knommu avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
mips MIPS: Mark all but i8259 interrupts as no-probe. 2008-02-08 09:22:42 -08:00
mn10300 mn10300: add platform MTD support for the ASB2303 board 2008-02-08 09:22:30 -08:00
parisc procfs: constify function pointer tables 2008-02-08 09:22:38 -08:00
powerpc CONFIG_HIGHPTE vs. sub-page page tables. 2008-02-08 09:22:42 -08:00
ppc CONFIG_HIGHPTE vs. sub-page page tables. 2008-02-08 09:22:42 -08:00
s390 CONFIG_HIGHPTE vs. sub-page page tables. 2008-02-08 09:22:42 -08:00
sh Fix container_of() usage 2008-02-08 09:22:32 -08:00
sparc CONFIG_HIGHPTE vs. sub-page page tables. 2008-02-08 09:22:42 -08:00
sparc64 misc: removal of final callers using fastcall 2008-02-08 09:22:31 -08:00
um uml: fix mm_context memory leak 2008-02-08 09:22:43 -08:00
v850 avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
x86 CONFIG_HIGHPTE vs. sub-page page tables. 2008-02-08 09:22:42 -08:00
xtensa avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
.gitignore arch: Ignore arch/i386 and arch/x86_64 2008-01-19 21:29:39 -08:00
Kconfig Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig 2008-02-03 08:58:08 +01:00