Date: Fri, 3 Aug 2007 06:24:31 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/tmpfs tmpfs.h tmpfs_subr.c Message-ID: <200708030624.l736OV3b043646@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2007-08-03 06:24:31 UTC FreeBSD src repository Modified files: sys/fs/tmpfs tmpfs.h tmpfs_subr.c Log: MFp4 - Refine locking to eliminate some potential race/panics: - 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. Suggested by: kib Submitted by: delphij Reviewed by: Howard Su Approved by: re (tmpfs blanket) Revision Changes Path 1.9 +1 -0 src/sys/fs/tmpfs/tmpfs.h 1.10 +21 -21 src/sys/fs/tmpfs/tmpfs_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708030624.l736OV3b043646>