linux/arch/m68k/mm
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
..
Makefile m68k: compile appropriate mm arch files for ColdFire MMU support 2011-12-30 10:20:39 +10:00
cache.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k 2012-01-26 12:43:57 -08:00
fault.c arch: mm: pass userspace fault flag to generic fault handler 2013-09-12 15:38:01 -07:00
hwtest.c
init.c mm/m68k: fix build warning of unused variable 2013-07-03 16:07:39 -07:00
kmap.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
mcfmmu.c m68k: move to a single instance of free_initmem() 2012-11-14 08:50:56 +01:00
memory.c m68k: fix ColdFire clear cache operation 2012-07-17 15:49:34 +10:00
motorola.c m68k: move to a single instance of free_initmem() 2012-11-14 08:50:56 +01:00
sun3kmap.c
sun3mmu.c m68k: move to a single instance of free_initmem() 2012-11-14 08:50:56 +01:00