cvs commit: src/sys/kern uipc_usrreq.c

Robert Watson rwatson at freebsd.org
Wed Aug 25 15:35:26 PDT 2004


On Wed, 25 Aug 2004, Alfred Perlstein wrote:

> >   Don't hold the UNIX domain socket subsystem lock over the body of the
> >   UNIX domain socket garbage collection implementation, as that risks
> >   holding the mutex over potentially sleeping operations (as well as
> >   introducing some nasty lock order issues, etc).  unp_gc() will hold
> >   the lock long enough to do necessary deferal checks and set that it's
> >   running, but then release it until it needs to reset the gc state.
> 
> Which alfred? :)

The one true Alfred, of course.  But mind you, this was right after I
first committed the UNIX domain socket locking, which was several months
ago... :-). 

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