linux/arch/um/kernel
Johannes Weiner 759496ba64 arch: mm: pass userspace fault flag to generic fault handler
Unlike global OOM handling, memory cgroup code will invoke the OOM killer
in any OOM situation because it has no way of telling faults occuring in
kernel context - which could be handled more gracefully - from
user-triggered faults.

Pass a flag that identifies faults originating in user space from the
architecture-specific fault handlers to generic code so that memcg OOM
handling can be improved.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Cc: David Rientjes <rientjes@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: azurIt <azurit@pobox.sk>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
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
exec.c
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
ptrace.c
reboot.c
sigio.c
signal.c um: siginfo cleanup 2013-07-19 11:31:36 +02:00
smp.c
syscall.c
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: pass userspace fault flag to generic fault handler 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