cvs commit: src/sys/vm vm_fault.c

Robert Watson rwatson at FreeBSD.org
Sat Aug 21 19:32:15 PDT 2004


On Sat, 21 Aug 2004, Brian Fundakowski Feldman wrote:

> > > #1. Lock order reversal.  Giant is acquired after the map read lock.
> > 
> > No, that is the order it has been in for months.  The other functions
> > that acquire a map lock and Giant do the same.
> 
> Giant can never be acquired after another lock has been acquired :-(

Actually, that's not quite accurate.  Take a look at the relationship
between lockmgr/sx locks and Giant, for example.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org      Principal Research Scientist, McAfee Research




More information about the cvs-src mailing list