Date: Tue, 2 Jan 2001 10:54:10 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_sig.c Message-ID: <200101021854.f02IsAI77591@freefall.freebsd.org>
index | next in thread | raw e-mail
jhb 2001/01/02 10:54:10 PST
Modified files:
sys/kern kern_sig.c
Log:
The previous commit wasn't entirely correct. At least one goto to the
out: label in psignal() did not grab sched_lock before trying to release
it. Also, the previous version had several cases where it grabbed
sched_lock before jumping to out: unneccessarily, so rework this a bit.
The runfast: and out: labels must be called with sched_lock released, and
the run: label must be called with it held. Appropriate mtx_assert()'s
have been added that should catch any bugs that may still be in this
code.
Noticed by: bde
Revision Changes Path
1.101 +23 -19 src/sys/kern/kern_sig.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101021854.f02IsAI77591>
