From owner-cvs-all Thu Oct 25 23: 9: 3 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4DCCB37B401; Thu, 25 Oct 2001 23:09:01 -0700 (PDT) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9Q691i91929; Thu, 25 Oct 2001 23:09:01 -0700 (PDT) (envelope-from jhb) Message-Id: <200110260609.f9Q691i91929@freefall.freebsd.org> From: John Baldwin Date: Thu, 25 Oct 2001 23:09:01 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_rman.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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