Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2001 01:24:06 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/kern subr_rman.c
Message-ID:  <XFMail.011026012406.jhb@FreeBSD.org>
In-Reply-To: <200110260609.f9Q691i91929@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 26-Oct-01 John Baldwin wrote:
> 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>

Oops, that should be <awr@watson.org>.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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?XFMail.011026012406.jhb>