cvs commit: src/sys/vm vm_fault.c

John Baldwin jhb at FreeBSD.org
Tue Aug 24 13:33:11 PDT 2004


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 at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the cvs-src mailing list