From: Oleg Nesterov Date: Wed, 17 Oct 2007 06:26:59 +0000 (-0700) Subject: wait_task_zombie: don't fight with non-existing race with a dying ptracee X-Git-Tag: v2.6.24-rc1~705 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=442a10cf9e1c350b4de4dd6f22c72618a0b13d7f;p=pandora-kernel.git wait_task_zombie: don't fight with non-existing race with a dying ptracee The "p->exit_signal == -1 && p->ptrace == 0" check and the comment are bogus. We already did exactly the same check in eligible_child(), we did not drop tasklist_lock since then, and both variables need write_lock(tasklist) to be changed. Signed-off-by: Oleg Nesterov Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed