diff options
author | David Rientjes <rientjes@google.com> | 2010-05-26 23:42:41 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 18:12:43 +0200 |
commit | df64f81bb1e01cbef967a96642dacf208acb7e72 (patch) | |
tree | accb54ac130b2ac52b3d8644cb6585cf9730975c /crypto/md4.c | |
parent | memcg: update documentation (diff) | |
download | linux-df64f81bb1e01cbef967a96642dacf208acb7e72.tar.xz 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 'crypto/md4.c')
0 files changed, 0 insertions, 0 deletions