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

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

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 <jhb@FreeBSD.org>  <><  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




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