kernel: Don't disturb about-to-be reaped zombies.
authorYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Fri, 27 May 2011 13:27:39 +0000 (22:27 +0900)
committerYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Fri, 27 May 2011 13:27:39 +0000 (22:27 +0900)
commit9458c398c0b97d30032a6541f8ab452cd93f5a86
treecb7955e281cfa6a87565cabcfb966470fa5e1311
parent637df2f6d055fc5c22a8ab420ff38dc901050e9e
kernel: Don't disturb about-to-be reaped zombies.

Processes in zombproc with p_nthreads == 0 are about to be reaped,
so just leave them in peace.

Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1996>
sys/kern/kern_proc.c