linux-stable-rt/arch/um/kernel
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
..
skas uml: fix mm_context memory leak 2008-02-08 09:22:43 -08:00
Makefile
asm-offsets.c
config.c.in
dyn.lds.S
exec.c uml: runtime host VMSPLIT detection 2008-02-08 09:22:42 -08:00
exitcode.c
gmon_syms.c
gprof_syms.c
init_task.c
initrd.c
irq.c
ksyms.c aout: remove unnecessary inclusions of {asm, linux}/a.out.h 2008-02-08 09:22:30 -08:00
mem.c CONFIG_HIGHPTE vs. sub-page page tables. 2008-02-08 09:22:42 -08:00
physmem.c
process.c
ptrace.c
reboot.c
sigio.c
signal.c
smp.c
syscall.c
sysrq.c
time.c
tlb.c
trap.c
uaccess.c
um_arch.c uml: runtime host VMSPLIT detection 2008-02-08 09:22:42 -08:00
umid.c
uml.lds.S
vmlinux.lds.S