Date: Mon, 10 Nov 2003 12:39:44 -0800 (PST) From: Alfred Perlstein <alfred@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_taskqueue.c Message-ID: <200311102039.hAAKdiTv053820@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311102039.hAAKdiTv053820>
