Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2007 11:48:25 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Alfred Perlstein <alfred@freebsd.org>, freebsd-arch@freebsd.org
Subject:   Re: Lockless uidinfo.
Message-ID:  <20070823094825.GA33164@garage.freebsd.pl>
In-Reply-To: <200708221016.34107.jhb@freebsd.org>
References:  <20070818120056.GA6498@garage.freebsd.pl> <200708211753.34697.jhb@freebsd.org> <20070822063552.GC4187@garage.freebsd.pl> <200708221016.34107.jhb@freebsd.org>

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

--zYM0uCDKw75PZbzx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
> >=20
> > 	http://people.freebsd.org/~pjd/patches/uidinfo_waitfree.patch
>=20
> That actually adds more overhead than what I suggested above to the case =
where=20
> you are going to free it.  Also, I'm leery of having an object hang aroun=
d=20
> 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.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--zYM0uCDKw75PZbzx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFGzVfpForvXbEpPzQRAmHLAJwNFHrgpEeTthvEQtdxstctnABe4ACeJ0Tq
OdM+BbIx/kBpJWaRMj4+gf4=
=GBsH
-----END PGP SIGNATURE-----

--zYM0uCDKw75PZbzx--



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