Date: Mon, 22 Oct 2001 18:23:41 -0700 (PDT) From: Matt Dillon <dillon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_default.c Message-ID: <200110230123.f9N1Nf024350@freefall.freebsd.org>
index | next in thread | raw e-mail
dillon 2001/10/22 18:23:41 PDT
Modified files:
sys/kern vfs_default.c
Log:
Fix incorrect double-termination of vm_object. When a vm_object is
terminated and flushes pending dirty pages it is possible for the
object to be ref'd (0->1) and then deref'd (1->0) during termination.
We do not terminate the object a second time.
Document vop_stdgetvobject() to explicitly allow it to be called without
the vnode interlock held (for upcoming sync_msync() and ffs_sync()
performance optimizations)
MFC after: 3 days
Revision Changes Path
1.56 +13 -2 src/sys/kern/vfs_default.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110230123.f9N1Nf024350>
