diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2007-10-17 06:26:59 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 15:42:51 (GMT) |
commit | 442a10cf9e1c350b4de4dd6f22c72618a0b13d7f (patch) | |
tree | 13ab9fc1bd97be616511425d422e0c9188fbf5f3 /lib/rbtree.c | |
parent | ebca4cda1133775111e8b09f7124a7e5e391926d (diff) | |
download | linux-fsl-qoriq-442a10cf9e1c350b4de4dd6f22c72618a0b13d7f.tar.xz |
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 <oleg@tv-sign.ru>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/rbtree.c')
0 files changed, 0 insertions, 0 deletions