Subject: CVS commit: [newlock2] src/sys
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 02/06/2007 17:27:30
Module Name:	src
Committed By:	ad
Date:		Tue Feb  6 17:27:30 UTC 2007

Modified Files:
	src/sys/dev [newlock2]: lockstat.h
	src/sys/kern [newlock2]: kern_lock.c kern_mutex.c kern_rwlock.c

Log Message:
lockstat:

- Cache enabled/disabled status on entry.
- Don't read the cycle counter unless enabled.


To generate a diff of this commit:
cvs rdiff -r1.1.2.5 -r1.1.2.6 src/sys/dev/lockstat.h
cvs rdiff -r1.99.2.12 -r1.99.2.13 src/sys/kern/kern_lock.c
cvs rdiff -r1.1.36.19 -r1.1.36.20 src/sys/kern/kern_mutex.c
cvs rdiff -r1.1.36.8 -r1.1.36.9 src/sys/kern/kern_rwlock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.