Date: Tue, 20 Aug 2002 23:19:29 -0700 (PDT) From: Jeff Roberson <jeff@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys vnode.h src/sys/tools vnode_if.awk src/sys/kern vfs_subr.c vnode_if.src Message-ID: <200208210619.g7L6JTEk009765@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2002/08/20 23:19:29 PDT
Modified files:
sys/sys vnode.h
sys/tools vnode_if.awk
sys/kern vfs_subr.c vnode_if.src
Log:
- Add two new debugging macros: ASSERT_VI_LOCKED and ASSERT_VI_UNLOCKED
- Use the new VI asserts in place of the old mtx_assert checks.
- Add the VI asserts to the automated lock checking in the VOP calls. The
interlock should not be held across vops with a few exceptions.
- Add the vop_(un)lock_{pre,post} functions to assert that interlock is held
when LK_INTERLOCK is set.
Revision Changes Path
1.392 +59 -6 src/sys/kern/vfs_subr.c
1.55 +6 -2 src/sys/kern/vnode_if.src
1.205 +24 -0 src/sys/sys/vnode.h
1.35 +1 -0 src/sys/tools/vnode_if.awk
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208210619.g7L6JTEk009765>
