From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 21:58:50 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA27A16A4CE; Sun, 17 Oct 2004 21:58:50 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D88C43D1D; Sun, 17 Oct 2004 21:58:50 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id i9HLwhWb034612; Sun, 17 Oct 2004 17:58:43 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i9HLwhBF034609; Sun, 17 Oct 2004 17:58:43 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sun, 17 Oct 2004 17:58:43 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Julian Elischer In-Reply-To: <4172E741.7080508@elischer.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Vlad cc: scottl@freebsd.org cc: current@freebsd.org cc: Marc UBM Bocklet Subject: Re: [BETA7-panic] sodealloc(): so_count 1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 21:58:50 -0000 On Sun, 17 Oct 2004, Julian Elischer wrote: > I.e., it sounds like a > > reference count issue due to sockets using a slightly aberrant reference > > model. I'll try to come up with a workaround sometime in the next 12-24 > > hours, and hopefully also a proper fix. > > At the risk of sounding like a broken record, if we had a central policy > on how reference counts were done, and library/include support for doing > it we would be some distance ahead fo where we are now.. > > There are too many examples of "aberrant reference model". I've actually looked a little at normalizing socket reference counting, but it uses a moderate number of "Weak" references, including a reference from the protocol that isn't counted, as well as possible references from the listen queues. It is my intent to investigate this more, and possibly move to a more normal referencing scheme, but not before 5.3. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research