Re: [BETA7-panic] sodealloc(): so_count 1

From: Robert Watson <rwatson_at_freebsd.org>
Date: Sun, 17 Oct 2004 17:58:43 -0400 (EDT)
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_at_fledge.watson.org      Principal Research Scientist, McAfee Research
Received on Sun Oct 17 2004 - 19:58:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:18 UTC