Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 1999 10:54:02 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Peter Wemm <peter@netplex.com.au>
Cc:        Matthew Dillon <dillon@apollo.backplane.com>, current@FreeBSD.ORG, mckusick@mckusick.com
Subject:   Re: BUF_LOCK() related panic.. 
Message-ID:  <25095.930473642@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 27 Jun 1999 16:44:14 %2B0800." <19990627084414.24D4D81@overcee.netplex.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <19990627084414.24D4D81@overcee.netplex.com.au>, Peter Wemm writes:

>Speaking of SMP and simple locks, I'd like to turn on the debugging
>simplelocks that keep a reference count and check before switching to make
>sure that a process doesn't sleep holding a lock.  This is a pretty
>fundamental sanity check and would have found the LK_INTERLOCK problem
>above before it got committed.

Absolutely, I also have seen some indications that checking spl levels
(#ifdef DIAGNOSTIC) might be warranted.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25095.930473642>