kernel_optimize_test/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 um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
config.c.in um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
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 uml: convert to seq_file/proc_fops 2009-12-15 08:53:25 -08:00
gmon_syms.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
gprof_syms.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
initrd.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
irq.c um: Add irq chip um/mask handlers 2013-09-07 10:57:19 +02:00
ksyms.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
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 um: distribute exports to where exported stuff is defined 2011-11-02 14:15:36 +01:00
process.c um: Use generic idle loop 2013-04-17 10:39:38 +02:00
ptrace.c um: split syscall_trace(), pass pt_regs to it 2012-08-02 00:25:38 +02:00
reboot.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
sigio.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
signal.c um: siginfo cleanup 2013-07-19 11:31:36 +02:00
smp.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
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 um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
tlb.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
trap.c arch: mm: pass userspace fault flag to generic fault handler 2013-09-12 15:38:01 -07:00
um_arch.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
umid.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
uml.lds.S UML: normalize global variables exported by vmlinux.lds 2013-07-03 16:07:34 -07:00
vmlinux.lds.S arm, cris, mips, sparc, powerpc, um, xtensa: fix build with bash 4.0 2009-09-20 12:28:22 +02:00