cvs commit: src/sys/kern subr_taskqueue.c
Alfred Perlstein
alfred at FreeBSD.org
Mon Nov 10 12:39:45 PST 2003
alfred 2003/11/10 12:39:44 PST
FreeBSD src repository
Modified files:
sys/kern subr_taskqueue.c
Log:
Fix a bug where the taskqueue kproc was being parented by init
because RFNOWAIT was being passed to kproc_create.
The result was that shutdown took quite a bit longer because this
errant "child" would not respond to termination signals from init
at system shutdown.
RFNOWAIT dissassociates itself from the caller by attaching to init
as a parent proc. We could have had the taskqueue proc listen for
SIGKILL, but being able to SIGKILL a potentially critical system
process doesn't seem like a good idea.
Revision Changes Path
1.20 +1 -1 src/sys/kern/subr_taskqueue.c
More information about the cvs-src
mailing list