Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 2004 22:18:06 -0400 (EDT)
From:      Robert Watson <rwatson@FreeBSD.ORG>
To:        Andrey Chernov <ache@nagual.pp.ru>
Cc:        cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/kern uipc_usrreq.c
Message-ID:  <Pine.NEB.3.96L.1040610221714.44958D-100000@fledge.watson.org>
In-Reply-To: <20040611015453.GA17618@nagual.pp.ru>

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

On Fri, 11 Jun 2004, Andrey Chernov wrote:

> On Thu, Jun 10, 2004 at 09:34:38PM +0000, Robert Watson wrote:
> >   Introduce a subsystem lock around UNIX domain sockets in order to protect
> >   global and allocated variables.  This strategy is derived from work
> >   originally developed by BSDi for BSD/OS, and applied to FreeBSD by Sam
> >   Leffler:
> 
> Is it could fix recent -current panics in sosend() I report? 

No, because Giant is held over all of this code still, this should neither
introduce nor correct any race conditions or corruption issues (ideally). 
However, I'm not sure I've seen your sosend() report -- is there a PR I
can look at?  Have you tried running with the socket buffer debugging
option turned on?

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Senior 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.1040610221714.44958D-100000>