Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2004 18:33:08 -0400 (EDT)
From:      Robert Watson <rwatson@freebsd.org>
To:        Alfred Perlstein <alfred@freebsd.org>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/kern uipc_usrreq.c
Message-ID:  <Pine.NEB.3.96L.1040825183159.45929A-100000@fledge.watson.org>
In-Reply-To: <20040825221542.GB26612@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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@fledge.watson.org      Principal Research Scientist, McAfee Research



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040825183159.45929A-100000>