From owner-cvs-src@FreeBSD.ORG Fri Aug 3 06:29:34 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61F0916A418; Fri, 3 Aug 2007 06:29:34 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id 50FE413C46B; Fri, 3 Aug 2007 06:29:33 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id A713EEB43DA; Fri, 3 Aug 2007 14:29:31 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id lx+EIZG25ZCf; Fri, 3 Aug 2007 14:29:27 +0800 (CST) Received: from LI-Xins-MacBook.local (sina152-194.staff.sina.com.cn [61.135.152.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 84509EB431C; Fri, 3 Aug 2007 14:29:25 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type; b=qD869eFclVGnZSfzpGkUHXegqvU92fNM1KLd0IHSUYorSF/GModfKvIUm+I6/3Ntd uuyjcWHeRwCoP+sxqioCQ== Message-ID: <46B2CB2C.7030504@delphij.net> Date: Fri, 03 Aug 2007 14:29:00 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Xin LI References: <200708030624.l736OV3b043646@repoman.freebsd.org> In-Reply-To: <200708030624.l736OV3b043646@repoman.freebsd.org> X-Enigmail-Version: 0.95.2 OpenPGP: url=http://www.delphij.net/delphij.asc Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigDADCDAC75888FA53EA2005D4" Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/fs/tmpfs tmpfs.h tmpfs_subr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2007 06:29:34 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDADCDAC75888FA53EA2005D4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xin LI wrote: > delphij 2007-08-03 06:24:31 UTC >=20 > FreeBSD src repository >=20 > Modified files: > sys/fs/tmpfs tmpfs.h tmpfs_subr.c=20 > Log: > MFp4 - Refine locking to eliminate some potential race/panics: > =20 > - Copy before testing a pointer. This closes a race window. > - Use msleep with the node interlock instead of tsleep. > - Do proper locking around access to tn_vpstate. > - Assert vnode VOP lock for dir_{atta,de}tach to capture > inconsistent locking. > =20 > Suggested by: kib > Submitted by: delphij > Reviewed by: Howard Su > Approved by: re (tmpfs blanket) Should have mentioned that this is done in response of pho@'s stress test. Thanks goes to him for all these hard work! Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enigDADCDAC75888FA53EA2005D4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGssstOfuToMruuMARCie9AJ4yh6QCGSScIowOUZEpR38ryW4IUgCfVCVO hDfDX3CU/Fwa01MZhbiEVvg= =EakG -----END PGP SIGNATURE----- --------------enigDADCDAC75888FA53EA2005D4--