From owner-cvs-all@FreeBSD.ORG Fri Jun 11 02:19:20 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE98916A4D0; Fri, 11 Jun 2004 02:19:20 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D96C43D46; Fri, 11 Jun 2004 02:19:20 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i5B2I6Sx048564; Thu, 10 Jun 2004 22:18:06 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i5B2I69A048561; Thu, 10 Jun 2004 22:18:06 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Thu, 10 Jun 2004 22:18:06 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Andrey Chernov In-Reply-To: <20040611015453.GA17618@nagual.pp.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern uipc_usrreq.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2004 02:19:21 -0000 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