]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm, oom: cleanup pagefault oom handler
authorDavid Rientjes <rientjes@google.com>
Thu, 29 Nov 2012 03:18:09 +0000 (14:18 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:21 +0000 (16:23 +1100)
commit8f23de2251539aaf853cb13eb6a41d56bfa089bd
tree8d38c38def4847c94551fe00b5f2449740964af3
parent87996fe5a418af30eab8f19497374f0a22e2e273
mm, oom: cleanup pagefault oom handler

To lock the entire system from parallel oom killing, it's possible to pass
in a zonelist with all zones rather than using for_each_populated_zone()
for the iteration.  This obsoletes try_set_system_oom() and
clear_system_oom() so that they can be removed.

Signed-off-by: David Rientjes <rientjes@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/oom_kill.c