linux_dsm_epyc7002/arch/um/kernel
Johannes Weiner 871341023c arch: mm: do not invoke OOM killer on kernel fault OOM
Kernel faults are expected to handle OOM conditions gracefully (gup,
uaccess etc.), so they should never invoke the OOM killer.  Reserve this
for faults triggered in user context when it is the only option.

Most architectures already do this, fix up the remaining few.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: azurIt <azurit@pobox.sk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-09-12 15:38:01 -07:00
..
skas um: Mark stub pages mapping with VM_PFNMAP 2013-07-19 10:45:17 +02:00
asm-offsets.c
config.c.in
dyn.lds.S UML: normalize global variables exported by vmlinux.lds 2013-07-03 16:07:34 -07:00
early_printk.c early_printk: consolidate random copies of identical code 2013-04-29 18:28:13 -07:00
exec.c um: get_safe_registers() should be done in flush_thread(), not start_thread() 2012-11-28 21:46:03 -05:00
exitcode.c
gmon_syms.c
gprof_syms.c
initrd.c
irq.c um: Add irq chip um/mask handlers 2013-09-07 10:57:19 +02:00
ksyms.c
maccess.c um: Implement probe_kernel_read() 2013-09-07 10:38:34 +02:00
Makefile um: Implement probe_kernel_read() 2013-09-07 10:38:34 +02:00
mem.c mm/um: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:37 -07:00
physmem.c
process.c um: Use generic idle loop 2013-04-17 10:39:38 +02:00
ptrace.c
reboot.c
sigio.c
signal.c um: siginfo cleanup 2013-07-19 11:31:36 +02:00
smp.c
syscall.c x86, um: switch to generic fork/vfork/clone 2012-11-28 22:13:44 -05:00
sysrq.c sched: Rename sched.c as sched/core.c in comments and Documentation 2013-06-19 12:58:42 +02:00
time.c
tlb.c
trap.c arch: mm: do not invoke OOM killer on kernel fault OOM 2013-09-12 15:38:01 -07:00
um_arch.c
umid.c
uml.lds.S UML: normalize global variables exported by vmlinux.lds 2013-07-03 16:07:34 -07:00
vmlinux.lds.S