Date: Sun, 26 Sep 1999 11:31:51 -0700 (PDT) From: Eivind Eklund <eivind@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vnode_if.sh Message-ID: <199909261831.LAA03047@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
eivind 1999/09/26 11:31:51 PDT
Modified files:
sys/kern vnode_if.sh
Log:
Update this to be able to output ASSERT_VOP_(UN)LOCKED() based on the
lock specifications in kern/vnode_if.src. At present, this do not
distinguish between exclusive and shared locks, and the kernel is so full
of bugs in this area that running with auto-generation of assertions
enabled makes DEBUG_VFS_LOCKS totally useless for anybody that has used it
for anything prior to outputting automated assertions. Due to this, I made
vnode_if.sh only output locking assertions if you have the environment
variable DEBUG_ALL_VFS_LOCKS set to "YES". In order to actually use the
assertions, you need to also add "options DEBUG_VFS_LOCKS" to your kernel
config file.
Urged to commit by: phk
Revision Changes Path
1.20 +243 -268 src/sys/kern/vnode_if.sh
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?199909261831.LAA03047>
