From owner-freebsd-arch Thu Mar 28 6:45:11 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mail13.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by hub.freebsd.org (Postfix) with ESMTP id 32E6237B419 for ; Thu, 28 Mar 2002 06:45:03 -0800 (PST) Received: (qmail 614 invoked from network); 28 Mar 2002 14:45:01 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 28 Mar 2002 14:45:01 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g2SEjhv95796; Thu, 28 Mar 2002 09:45:43 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020328000240.A94897@unixdaemons.com> Date: Thu, 28 Mar 2002 09:45:02 -0500 (EST) From: John Baldwin To: Bosko Milekic Subject: Re: SMP safe reference counting Cc: arch@FreeBSD.ORG, Julian Elischer 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 28-Mar-2002 Bosko Milekic wrote: > > I don't think we really need a ref. count API, per-se. I can think of > several places that may need to do ref. counting but wouldn't want to > do it with a bus-locked instruction because their reference counter(s) > are already protected by an existing mutex. > > -Bosko Those places wouldn't use the API then I think. However, this would be good for things like ucreds, pargs, uidinfos and others. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message