KOSAKI Motohiro 7c59aec830 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 <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Cc: Minchan Kim <minchan.kim@gmail.com>
Cc: David Rientjes <rientjes@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-09 20:45:00 -07:00
..
2010-07-14 17:14:00 +10:00
2010-07-14 17:14:00 +10:00
2010-07-14 17:14:00 +10:00
2010-05-25 08:06:58 -07:00
2010-05-21 18:31:21 -04:00
2010-05-25 08:07:00 -07:00
2010-08-09 20:44:59 -07:00
2010-05-25 15:06:06 +02:00
2010-05-27 22:15:33 -04:00
2010-08-09 20:44:54 -07:00
2010-08-09 20:44:54 -07:00
2010-08-09 20:45:00 -07:00