Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2002 16:46:18 -0500
From:      Bosko Milekic <bmilekic@unixdaemons.com>
To:        John Baldwin <jhb@FreeBSD.ORG>
Cc:        arch@FreeBSD.ORG, Julian Elischer <julian@elischer.org>
Subject:   Re: SMP safe reference counting
Message-ID:  <20020328164618.A95605@unixdaemons.com>
In-Reply-To: <XFMail.20020328094502.jhb@FreeBSD.org>; from jhb@FreeBSD.ORG on Thu, Mar 28, 2002 at 09:45:02AM -0500
References:  <20020328000240.A94897@unixdaemons.com> <XFMail.20020328094502.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, Mar 28, 2002 at 09:45:02AM -0500, John Baldwin wrote:
> 
> 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.

  Yeah, absolutely.  I was just pointing out that there's little point
 in having a reference counting API when a lot of the reference counting
 implementations won't be using it.

> -- 
> 
> John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
> "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

-- 
Bosko Milekic
bmilekic@unixdaemons.com
bmilekic@FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020328164618.A95605>