https://github.com/torvalds/linux
Revision 871341023c771ad233620b7a1fb3d9c7031c4e5c authored by Johannes Weiner on 12 September 2013, 22:13:38 UTC, committed by Linus Torvalds on 12 September 2013, 22:38:01 UTC
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>
1 parent 94bce45
Raw File
Tip revision: 871341023c771ad233620b7a1fb3d9c7031c4e5c authored by Johannes Weiner on 12 September 2013, 22:13:38 UTC
arch: mm: do not invoke OOM killer on kernel fault OOM
Tip revision: 8713410
Kconfig
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#
mainmenu "Linux/$ARCH $KERNELVERSION Kernel Configuration"

config SRCARCH
	string
	option env="SRCARCH"

source "arch/$SRCARCH/Kconfig"
back to top