From owner-cvs-all Fri Oct 26 7:41: 0 2001 Delivered-To: cvs-all@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 059DD37B406; Fri, 26 Oct 2001 07:40:54 -0700 (PDT) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.4) id f9QEerC70590; Fri, 26 Oct 2001 10:40:53 -0400 (EDT) (envelope-from wollman) Date: Fri, 26 Oct 2001 10:40:53 -0400 (EDT) From: Garrett Wollman Message-Id: <200110261440.f9QEerC70590@khavrinen.lcs.mit.edu> To: John Baldwin Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_rman.c In-Reply-To: <200110260609.f9Q691i91929@freefall.freebsd.org> References: <200110260609.f9Q691i91929@freefall.freebsd.org> 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 < 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