diff options
author | David Rientjes <rientjes@google.com> | 2012-08-01 03:43:48 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-01 05:42:45 +0400 |
commit | 876aafbfd9ba5bb352f1b14622c27f3fe9a99013 (patch) | |
tree | fdd18b6caa0c9baa56b76feb9b05339919f283dd /lib/locking-selftest-softirq.h | |
parent | 6b0c81b3be114a93f79bd4c5639ade5107d77c21 (diff) | |
download | linux-876aafbfd9ba5bb352f1b14622c27f3fe9a99013.tar.xz |
mm, memcg: move all oom handling to memcontrol.c
By globally defining check_panic_on_oom(), the memcg oom handler can be
moved entirely to mm/memcontrol.c. This removes the ugly #ifdef in the
oom killer and cleans up the code.
Signed-off-by: David Rientjes <rientjes@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: Oleg Nesterov <oleg@redhat.com>
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>
Diffstat (limited to 'lib/locking-selftest-softirq.h')
0 files changed, 0 insertions, 0 deletions