Date: Thu, 28 Mar 2002 14:45:19 -0800 (PST) From: Julian Elischer <julian@elischer.org> To: John Baldwin <jhb@FreeBSD.org> Cc: arch@FreeBSD.ORG, Bosko Milekic <bmilekic@unixdaemons.com> Subject: Re: SMP safe reference counting Message-ID: <Pine.BSF.4.21.0203281444270.53693-100000@InterJet.elischer.org> In-Reply-To: <XFMail.20020328173711.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Mar 2002, John Baldwin wrote: oops I see it's there.. you just mispelled the path.. sorry > > It's old but it's been at ~jhb/paches/refcount.patch for about an eternity > right now. The changes I would make to it are that I would change > refcount_drop() (or release or whatever it is called) to return the current > value rather than a boolean about the value being 0 or not. Also, once > atomic_fetchadd() is done, it will change a fair bit. There would just be > a MI header, no MD stuff, and we woudln't use a mutex for the debug version > that uses asserts. > > > Julian > > -- > > 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?Pine.BSF.4.21.0203281444270.53693-100000>