From owner-cvs-all Sun Sep 26 11:31:54 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E20F614CAC; Sun, 26 Sep 1999 11:31:51 -0700 (PDT) (envelope-from eivind@FreeBSD.org) Received: (from eivind@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA03047; Sun, 26 Sep 1999 11:31:51 -0700 (PDT) (envelope-from eivind@FreeBSD.org) Message-Id: <199909261831.LAA03047@freefall.freebsd.org> From: Eivind Eklund Date: Sun, 26 Sep 1999 11:31:51 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vnode_if.sh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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