summaryrefslogtreecommitdiffstats
path: root/mm/Kconfig.debug
diff options
context:
space:
mode:
authorAndrey Vagin <avagin@openvz.org>2011-03-22 16:30:11 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-22 17:43:58 -0700
commit30e2b41f20b6238f51e7cffb879c7a0f0073f5fe (patch)
treefc1bdcfd516bbf67cf6c5c36f903a299c1ac03df /mm/Kconfig.debug
parent3a5dda7a17cf3706f79b86293f29db02d61e0d48 (diff)
downloadlinux-stable-30e2b41f20b6238f51e7cffb879c7a0f0073f5fe.tar.gz
linux-stable-30e2b41f20b6238f51e7cffb879c7a0f0073f5fe.tar.bz2
linux-stable-30e2b41f20b6238f51e7cffb879c7a0f0073f5fe.zip
oom: skip zombies when iterating tasklist
We shouldn't defer oom killing if a thread has already detached its ->mm and still has TIF_MEMDIE set. Memory needs to be freed, so find kill other threads that pin the same ->mm or find another task to kill. Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: David Rientjes <rientjes@google.com> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: <stable@kernel.org> [2.6.38.x] Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions