summaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorDavid Rientjes2010-05-26 23:42:41 +0200
committerLinus Torvalds2010-05-27 18:12:43 +0200
commitdf64f81bb1e01cbef967a96642dacf208acb7e72 (patch)
treeaccb54ac130b2ac52b3d8644cb6585cf9730975c /mm/memcontrol.c
parentmemcg: update documentation (diff)
downloadkernel-qcow2-linux-df64f81bb1e01cbef967a96642dacf208acb7e72.tar.gz
kernel-qcow2-linux-df64f81bb1e01cbef967a96642dacf208acb7e72.tar.xz
kernel-qcow2-linux-df64f81bb1e01cbef967a96642dacf208acb7e72.zip
memcg: make oom killer a no-op when no killable task can be found
It's pointless to try to kill current if select_bad_process() did not find an eligible task to kill in mem_cgroup_out_of_memory() since it's guaranteed that current is a member of the memcg that is oom and it is, by definition, unkillable. Signed-off-by: David Rientjes <rientjes@google.com> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Balbir Singh <balbir@in.ibm.com> Cc: Li Zefan <lizf@cn.fujitsu.com> Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions