From: KOSAKI Motohiro Date: Tue, 10 Aug 2010 00:19:33 +0000 (-0700) Subject: oom: don't try to kill oom_unkillable child X-Git-Tag: v2.6.36-rc1~417 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c59aec830c7ed6c745bd513982cee3563ed20c1;p=pandora-kernel.git oom: don't try to kill oom_unkillable child Presently, badness() doesn't care about either CPUSET nor mempolicy. Then if the victim child process have disjoint nodemask, OOM Killer might kill innocent process. This patch fixes it. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: KOSAKI Motohiro Reviewed-by: Minchan Kim Cc: Minchan Kim Cc: David Rientjes Cc: KAMEZAWA Hiroyuki Cc: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed