Date: Wed, 27 Mar 2002 17:03:08 -0800 From: Jon Mini <mini@haikugeek.com> To: Julian Elischer <julian@elischer.org> Cc: arch@FreeBSD.ORG Subject: Re: SMP safe reference counting Message-ID: <20020327170308.I20741@stylus.haikugeek.com> In-Reply-To: <Pine.BSF.4.21.0203271150430.47944-100000@InterJet.elischer.org>; from julian@elischer.org on Wed, Mar 27, 2002 at 12:10:36PM -0800 References: <Pine.BSF.4.21.0203271150430.47944-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer [julian@elischer.org] wrote : > > Once again on the SMP list a lock is being used to make a reference count > safe. I'd like to re-raise the issue of a safe reference counting > fascility. > > [ ... ] > > /* Note I use the non-existing "atomic_inc()". I think > we should have this as its SO COMMONLY used. */ > FWIW, I agree with Julian on both counts: a) a generic reference counting utility would be useful, however b) I frankly can't believe that FreeBSD doesn't have an atomic increment MI function. -- Jonathan Mini mini@haikugeek.com <baka^ni> Yersterday, I was ashamed of myself. Today, I am just hungry. 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?20020327170308.I20741>
