linux-stable-rt/arch/um/kernel
Nick Piggin 1c0fe6e3bd mm: invoke oom-killer from page fault
Rather than have the pagefault handler kill a process directly if it gets
a VM_FAULT_OOM, have it call into the OOM killer.

With increasingly sophisticated oom behaviour (cpusets, memory cgroups,
oom killing throttling, oom priority adjustment or selective disabling,
panic on oom, etc), it's silly to unconditionally kill the faulting
process at page fault time.  Create a hook for pagefault oom path to call
into instead.

Only converted x86 and uml so far.

[akpm@linux-foundation.org: make __out_of_memory() static]
[akpm@linux-foundation.org: fix comment]
Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Jeff Dike <jdike@addtoit.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-01-06 15:58:58 -08:00
..
skas
Makefile
asm-offsets.c
config.c.in
dyn.lds.S
exec.c
exitcode.c
gmon_syms.c
gprof_syms.c
init_task.c
initrd.c
internal.h
irq.c
ksyms.c
mem.c
physmem.c
process.c
ptrace.c
reboot.c
sigio.c
signal.c
smp.c
syscall.c
sysrq.c
time.c
tlb.c
trap.c mm: invoke oom-killer from page fault 2009-01-06 15:58:58 -08:00
uaccess.c
um_arch.c
umid.c
uml.lds.S
vmlinux.lds.S