From owner-cvs-all Thu Apr 4 12:45:24 2002 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 16DD637B41C; Thu, 4 Apr 2002 12:45:22 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g34KjMA42826; Thu, 4 Apr 2002 12:45:22 -0800 (PST) (envelope-from jhb) Message-Id: <200204042045.g34KjMA42826@freefall.freebsd.org> From: John Baldwin Date: Thu, 4 Apr 2002 12:45:21 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_witness.c src/sys/sys _lock.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jhb 2002/04/04 12:45:21 PST Modified files: sys/kern subr_witness.c sys/sys _lock.h Log: Add a new char * pointer lo_type to struct lock_object that is used to point to a more generic name for a lock that is more suitable for use by witness when grouping locks. For example, although network driver locks use the interface name for the name of each lock, they should all use the same witness and be treated the same as witness. Another example is that all UMA zone locks should be treated the same. The witness code has also been updated to print out the lock type in addition to the lock name in a few places where it is relevant. Revision Changes Path 1.106 +28 -19 src/sys/kern/subr_witness.c 1.6 +2 -1 src/sys/sys/_lock.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message