Date: Wed, 15 Nov 2000 17:07:20 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_synch.c Message-ID: <200011160107.RAA19109@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2000/11/15 17:07:20 PST
Modified files:
sys/kern kern_synch.c
Log:
CURSIG() calls functions that acquire sleep mutexes, so it is not a good
idea to be holding the sched_lock while we are calling it. As such,
release sched_lock before calling CURSIG() in msleep() and mawait() and
reacquire it after CURSIG() returns.
Submitted by: witness
Revision Changes Path
1.106 +13 -4 src/sys/kern/kern_synch.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011160107.RAA19109>
