]> err.no Git - linux-2.6/commit
[PATCH] oom: don't kill unkillable children or siblings
authorNick Piggin <npiggin@suse.de>
Thu, 7 Dec 2006 04:31:50 +0000 (20:31 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:20 +0000 (08:39 -0800)
commitc33e0fca3508f0aa387b1c10d0ef158102deb140
treed4dbbddbcd7cdf605dc5c0c97088789c7e10f4b4
parent7253f4ef04b1cd138baf2b29a95473743ac0a307
[PATCH] oom: don't kill unkillable children or siblings

Abort the kill if any of our threads have OOM_DISABLE set.  Having this
test here also prevents any OOM_DISABLE child of the "selected" process
from being killed.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/oom_kill.c