Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Sep 2005 14:40:11 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        freebsd-current@freebsd.org
Cc:        Don Lewis <truckman@freebsd.org>, rwatson@freebsd.org, current@freebsd.org
Subject:   Re: Witness patch
Message-ID:  <200509021440.13022.jhb@FreeBSD.org>
In-Reply-To: <200509020352.j823qKm9022255@gw.catspoiler.org>
References:  <200509020352.j823qKm9022255@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 01 September 2005 11:52 pm, Don Lewis wrote:
> On  1 Sep, John Baldwin wrote:
> > This patch forces witness to complain if any mutex is held when Giant is
> > locked to enforce Giant being the first mutex in the lock order.  This
> > might help track down some of the network LORs being reported recently.
> >
> > http://www.FreeBSD.org/~jhb/patches/witness.patch
>
> I think it would make sense to print different messages for the
> different trigger conditions.

Hmm, I guess I view them as all just being reversals, and that we have some 
implicit orders that go something like this:

sleepable locks --> Giant --> non-sleepable locks --> spin locks

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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