Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Aug 2007 14:29:00 +0800
From:      LI Xin <delphij@delphij.net>
To:        Xin LI <delphij@FreeBSD.ORG>
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
Message-ID:  <46B2CB2C.7030504@delphij.net>
In-Reply-To: <200708030624.l736OV3b043646@repoman.freebsd.org>
References:  <200708030624.l736OV3b043646@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <delphij@delphij.net>	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--



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