Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2004 09:56:42 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm vm_fault.c
Message-ID:  <200408240956.42487.jhb@FreeBSD.org>
In-Reply-To: <Pine.NEB.3.96L.1040822001718.95496H-100000@fledge.watson.org>
References:  <Pine.NEB.3.96L.1040822001718.95496H-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 22 August 2004 12:18 am, Robert Watson wrote:
> On Sun, 22 Aug 2004, Brian Fundakowski Feldman wrote:
> > Also, it was the system_map lock, so it was a mutex, not an sx.
> >
> > /Goes back to trying to figure out wtf portupgrade -rR kde\* keeps
> > causing
> >  hangs, but only in X, not at the command line, and not seemingly
> >  dependant on AGP/X driver.
>
> I believe mutexes are alright also as long as you're careful about
> sleeping and lock order.  I.e., don't sleep while holding a
> non-funnel-like mutex, etc.

Witness hardcodes that Giant comes before all other mutexes.

-- 
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?200408240956.42487.jhb>