kernel-fxtec-pro1x/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
asm-offsets.c
config.c.in
dyn.lds.S
exec.c x86, um: get rid of uml unistd.h 2008-10-22 22:55:21 -07:00
exitcode.c
gmon_syms.c
gprof_syms.c
init_task.c take init_fs to saner place 2008-12-31 18:07:42 -05:00
initrd.c
internal.h x86, um: get rid of uml unistd.h 2008-10-22 22:55:21 -07:00
irq.c
ksyms.c
Makefile
mem.c um: use generic show_mem() 2008-07-26 12:00:10 -07:00
physmem.c
process.c
ptrace.c
reboot.c
sigio.c
signal.c x86, um: sanitize uml sigcontext.h uses 2008-10-22 22:55:20 -07:00
smp.c cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
syscall.c x86, um: get rid of uml unistd.h 2008-10-22 22:55:21 -07:00
sysrq.c
time.c cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
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