diff options
| author | David Rientjes <[email protected]> | 2012-07-31 16:43:48 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-07-31 18:42:45 -0700 |
| commit | 876aafbfd9ba5bb352f1b14622c27f3fe9a99013 (patch) | |
| tree | fdd18b6caa0c9baa56b76feb9b05339919f283dd /include/linux/timerqueue.h | |
| parent | 6b0c81b3be114a93f79bd4c5639ade5107d77c21 (diff) | |
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 <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions