]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm, oom: cleanup pagefault oom handler
authorDavid Rientjes <rientjes@google.com>
Wed, 12 Dec 2012 21:52:06 +0000 (13:52 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Dec 2012 01:38:34 +0000 (17:38 -0800)
commitefacd02e4f57d94e934ba5c84f10f8ce91158770
treeb6ee63cc384d68a3904d5e5531ae69f8d4659546
parent09285af75d1682d8642607941ca6034ea1b159eb
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/oom_kill.c