From owner-cvs-src@FreeBSD.ORG Fri Aug 3 07:50:27 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 667D716A47D; Fri, 3 Aug 2007 07:50:27 +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 BED5113C4DA; Fri, 3 Aug 2007 07:50:26 +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 8E8C6EB4429; Fri, 3 Aug 2007 15:50:25 +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 SIhMAIVy--kn; Fri, 3 Aug 2007 15:50:19 +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 AC83EEB441F; Fri, 3 Aug 2007 15:50:17 +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=UrkK2j08Mo7EiIAKI+FsSYNl8P1Fn7jSAD0gQYZB+atOA1nIUFh8KzkW4qPwqDOnF cJMcMOi/Bj51C7Dc86GGw== Message-ID: <46B2DE20.2090708@delphij.net> Date: Fri, 03 Aug 2007 15:49:52 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Dmitry Morozovsky References: <200708030624.l736OV3b043646@repoman.freebsd.org> <46B2CB2C.7030504@delphij.net> <20070803113300.W80820@woozle.rinet.ru> In-Reply-To: <20070803113300.W80820@woozle.rinet.ru> 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="------------enigFCF3BE20380FC1C3252F362D" Cc: src-committers@FreeBSD.ORG, d@delphij.net, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG, MingyanGuo , Xin LI , Howard Su 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 07:50:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFCF3BE20380FC1C3252F362D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dmitry Morozovsky wrote: > Dear Xin, >=20 > On Fri, 3 Aug 2007, LI Xin wrote: >=20 > LX> > Log: > LX> > MFp4 - Refine locking to eliminate some potential race/panics: > LX> > =20 > LX> > - Copy before testing a pointer. This closes a race window. > LX> > - Use msleep with the node interlock instead of tsleep. > LX> > - Do proper locking around access to tn_vpstate. > LX> > - Assert vnode VOP lock for dir_{atta,de}tach to capture > LX> > inconsistent locking. > LX> > =20 > LX> > Suggested by: kib > LX> > Submitted by: delphij > LX> > Reviewed by: Howard Su > LX> > Approved by: re (tmpfs blanket) > LX>=20 > LX> Should have mentioned that this is done in response of pho@'s stres= s > LX> test. Thanks goes to him for all these hard work! >=20 > Should it fix panics I reported to you during last couple of days? I just noticed your e-mail. This sounds like a different problem. I'm working on another problem that kib@ has mentioned to me, which might be related to this. Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enigFCF3BE20380FC1C3252F362D 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 iD8DBQFGst4gOfuToMruuMARCvD0AJ0ZXvo2OUO4V+JRjtmCLckqJ/Ny3wCfQRVZ N7fuXu8ptPlIIWrSB4Pdjdc= =D0OQ -----END PGP SIGNATURE----- --------------enigFCF3BE20380FC1C3252F362D--