From owner-freebsd-arch Thu Dec 14 15:37:31 2000 From owner-freebsd-arch@FreeBSD.ORG Thu Dec 14 15:37:27 2000 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from smtp05.primenet.com (smtp05.primenet.com [206.165.6.135]) by hub.freebsd.org (Postfix) with ESMTP id 356D237B400; Thu, 14 Dec 2000 15:37:27 -0800 (PST) Received: (from daemon@localhost) by smtp05.primenet.com (8.9.3/8.9.3) id QAA23890; Thu, 14 Dec 2000 16:33:51 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp05.primenet.com, id smtpdAAA2ba4LU; Thu Dec 14 16:33:45 2000 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id QAA15971; Thu, 14 Dec 2000 16:37:16 -0700 (MST) From: Terry Lambert Message-Id: <200012142337.QAA15971@usr08.primenet.com> Subject: Re: patch to cleanup inflight desciptor handling. To: dot@dotat.at (Tony Finch) Date: Thu, 14 Dec 2000 23:37:15 +0000 (GMT) Cc: tlambert@primenet.com (Terry Lambert), bright@wintelcom.net (Alfred Perlstein), dillon@earth.backplane.com (Matt Dillon), mckusick@mckusick.com (Kirk McKusick), arch@FreeBSD.ORG, net@FreeBSD.ORG In-Reply-To: <20001214231629.K92196@hand.dotat.at> from "Tony Finch" at Dec 14, 2000 11:16:29 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: tlambert@usr08.primenet.com Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >SVR4 and Solaris avoid the problem entirely by ensuring that > >each reference to a vnode pointer counts as an "open", and > >the vnode can not be discarded until a 1->0 reference count > >change (grep for VHOLD/VRELE/VREF in the Solaris headers). > > FreeBSD does this too. It doesn't solve the circular reference > problem, though (hence the AI Koan). I think in-progress passes will have their references freed when the receiving end goes away. This still leaves the possibility of a circular reference being passed while being passed until the process exits, but I don't think you need to care about that. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message