Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2001 10:40:53 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_rman.c
Message-ID:  <200110261440.f9QEerC70590@khavrinen.lcs.mit.edu>
In-Reply-To: <200110260609.f9Q691i91929@freefall.freebsd.org>
References:  <200110260609.f9Q691i91929@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 25 Oct 2001 23:09:01 -0700 (PDT), John Baldwin <jhb@FreeBSD.org> said:

>   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.
  
Thanks... I've been meaning to fix that ever since msleep was
introduced.

-GAWollman


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?200110261440.f9QEerC70590>