Revert "kernel: Don't disturb about-to-be reaped zombies."
authorYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Thu, 2 Jun 2011 05:17:39 +0000 (14:17 +0900)
committerYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Thu, 2 Jun 2011 05:17:39 +0000 (14:17 +0900)
commitc36a1500168f35496d6068023955e0f180593652
treec0255558f1bbf72658de33c73398e3acc8752f23
parentb4877f07bf57a0db94c2e2e0547ab834bfdc43ca
Revert "kernel: Don't disturb about-to-be reaped zombies."

p_nthreads == 0 just means that the process's threads have all exited,
but not necessarily means it's about to be reaped.  We still want it
to show up in the ps or top in case it gets stuck during the exit.

Pointed-out-by: dillon@
This reverts commit 9458c398c0b97d30032a6541f8ab452cd93f5a86.
sys/kern/kern_proc.c