From owner-cvs-all Wed Dec 13 13:53:47 2000 From owner-cvs-all@FreeBSD.ORG Wed Dec 13 13:53:44 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4E65B37B404; Wed, 13 Dec 2000 13:53:44 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBDLrix39123; Wed, 13 Dec 2000 13:53:44 -0800 (PST) (envelope-from jhb) Message-Id: <200012132153.eBDLrix39123@freefall.freebsd.org> From: John Baldwin Date: Wed, 13 Dec 2000 13:53:44 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_mutex.c src/sys/sys mutex.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2000/12/13 13:53:44 PST Modified files: sys/kern kern_mutex.c sys/sys mutex.h Log: - Add a new flag MTX_QUIET that can be passed to the various mtx_* functions. If this flag is set, then no KTR log messages are issued. This is useful for blocking excessive logging, such as with the internal mutex used by the witness code. - Use MTX_QUIET on all of the mtx_enter/exit operations on the internal mutex used by the witness code. - If we are in a panic, don't do witness checks in witness_enter(), witness_exit(), and witness_try_enter(), just return. Revision Changes Path 1.30 +66 -41 src/sys/kern/kern_mutex.c 1.16 +11 -7 src/sys/sys/mutex.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message