Lockless uidinfo.
Pawel Jakub Dawidek
pjd at FreeBSD.org
Thu Aug 23 02:49:39 PDT 2007
On Wed, Aug 22, 2007 at 10:16:33AM -0400, John Baldwin wrote:
> On Wednesday 22 August 2007 02:35:52 am Pawel Jakub Dawidek wrote:
> > I updated the patch at:
> >
> > http://people.freebsd.org/~pjd/patches/uidinfo_waitfree.patch
>
> That actually adds more overhead than what I suggested above to the case where
> you are going to free it. Also, I'm leery of having an object hang around
> with a zero ref count while it is in the table with the lock not held.
I just felt it's easier to understand when we don't bypass the refcount
KPI, but I'm fine with your method.
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20070823/73ee1107/attachment.pgp
More information about the freebsd-arch
mailing list