From owner-freebsd-arch@FreeBSD.ORG Thu Aug 23 09:49:39 2007 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93BF816A41A; Thu, 23 Aug 2007 09:49:39 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 2545C13C4D9; Thu, 23 Aug 2007 09:49:36 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 11CFC4569A; Thu, 23 Aug 2007 11:49:33 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id C9BBF45685; Thu, 23 Aug 2007 11:49:24 +0200 (CEST) Date: Thu, 23 Aug 2007 11:48:25 +0200 From: Pawel Jakub Dawidek To: John Baldwin Message-ID: <20070823094825.GA33164@garage.freebsd.pl> References: <20070818120056.GA6498@garage.freebsd.pl> <200708211753.34697.jhb@freebsd.org> <20070822063552.GC4187@garage.freebsd.pl> <200708221016.34107.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: <200708221016.34107.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: Alfred Perlstein , freebsd-arch@freebsd.org Subject: Re: Lockless uidinfo. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2007 09:49:39 -0000 --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--