From: Oleg Nesterov Date: Sun, 30 Oct 2005 23:02:54 +0000 (-0800) Subject: [PATCH] fix de_thread() vs do_coredump() deadlock X-Git-Tag: v2.6.15-rc1~59^2~15^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1291cf4163d21f1b4999d697cbf68d38e7151c28;p=pandora-kernel.git [PATCH] fix de_thread() vs do_coredump() deadlock de_thread() sends SIGKILL to all sub-threads and waits them to die in 'D' state. It is possible that one of the threads already dequeued coredump signal. When de_thread() unlocks ->sighand->lock that thread can enter do_coredump()->coredump_wait() and cause a deadlock. Signed-off-by: Oleg Nesterov Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed