]> Git Repo - linux.git/commit
arch: mm: do not invoke OOM killer on kernel fault OOM
authorJohannes Weiner <[email protected]>
Thu, 12 Sep 2013 22:13:38 +0000 (15:13 -0700)
committerLinus Torvalds <[email protected]>
Thu, 12 Sep 2013 22:38:01 +0000 (15:38 -0700)
commit871341023c771ad233620b7a1fb3d9c7031c4e5c
treef2b008756dffce639759f74885b23e92886600d6
parent94bce453c78996cc4373d5da6cfabe07fcc6d9f9
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 <[email protected]>
Reviewed-by: Michal Hocko <[email protected]>
Acked-by: KOSAKI Motohiro <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: azurIt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/arm/mm/fault.c
arch/arm64/mm/fault.c
arch/avr32/mm/fault.c
arch/mips/mm/fault.c
arch/um/kernel/trap.c
arch/unicore32/mm/fault.c
This page took 0.062332 seconds and 4 git commands to generate.