From owner-freebsd-arch Wed Nov 14 17:22:11 2001 Delivered-To: freebsd-arch@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 36BFB37B416 for ; Wed, 14 Nov 2001 17:22:09 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id DFA1381D05; Wed, 14 Nov 2001 19:22:03 -0600 (CST) Date: Wed, 14 Nov 2001 19:22:03 -0600 From: Alfred Perlstein To: Julian Elischer Cc: Matthew Dillon , freebsd-arch@freebsd.org Subject: Re: Need review - patch for socket locking and ref counting Message-ID: <20011114192203.H13393@elvis.mu.org> References: <200111150015.fAF0Flb09186@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from julian@elischer.org on Wed, Nov 14, 2001 at 05:17:00PM -0800 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > On Wed, 14 Nov 2001, Matthew Dillon wrote: > > > This patch adds a reference count to the socket structure > > and cleans up & encapulates the API calls. I do not yet > > attempt to use sxlocks to lock the socket structure (to allow > > us to multi-thread the network stack), but that is the > > direction I am headed. * Julian Elischer [011114 19:20] wrote: > how does it cope with the old > "unix domain socket being passed across itself" case? > > > (I'm guessing it's references on the pcb that are tricky there and not > references on the sockets) That's handled in the "struct file" handling code. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' http://www.morons.org/rants/gpl-harmful.php3 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message