From: David Rientjes Date: Wed, 26 May 2010 21:42:41 +0000 (-0700) Subject: memcg: make oom killer a no-op when no killable task can be found X-Git-Tag: v2.6.35-rc1~194 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df64f81bb1e01cbef967a96642dacf208acb7e72;p=pandora-kernel.git 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 Acked-by: KAMEZAWA Hiroyuki Cc: Balbir Singh Cc: Li Zefan Cc: Daisuke Nishimura Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed