From owner-freebsd-current Thu Nov 11 5:15:27 1999 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 8415E14D56 for ; Thu, 11 Nov 1999 05:15:23 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from p13-ts5.syd2.zeta.org.au (beefcake.zeta.org.au [203.26.10.12]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id AAA08596; Fri, 12 Nov 1999 00:21:16 +1100 Date: Fri, 12 Nov 1999 00:15:00 +1100 (EST) From: Bruce Evans X-Sender: bde@alphplex.bde.org To: Assar Westerlund Cc: current@FreeBSD.ORG Subject: Re: inconsistent and wrong locking in asleep() In-Reply-To: <5lg0yfn4bv.fsf@assaris.sics.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 9 Nov 1999, Assar Westerlund wrote: > Bruce Evans writes: > > That's a really old bug. I fixed it a year or two ago in my version, > > and optimised the !SMP case following a suggestion of tegge (waiting > > for the lock is useless in the !SMP case). > > Looks fine. Can you commit your patch? Alan Cox committed it. Perhaps it is important enough to commit to -stable too (it only affects the SMP case unless SIMPLELOCK_DEBUG is configured). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message