Date: Thu, 25 Oct 2001 23:09:01 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_rman.c Message-ID: <200110260609.f9Q691i91929@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2001/10/25 23:09:01 PDT
Modified files:
sys/kern subr_rman.c
Log:
Use msleep() to avoid lost wakeup's instead of doing an ineffective
splhigh() before the mtx_unlock and tsleep(). The splhigh() was probably
correct in the original code using simplelocks but is not correct in
5.0-current.
Noticed by: Andrew Reiter <awr@FreeBSD.org>
Revision Changes Path
1.21 +6 -16 src/sys/kern/subr_rman.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?200110260609.f9Q691i91929>
