kmacy 2007-02-26 08:26:44 UTC FreeBSD src repository
Modified files: sys/sys lock_profile.h mutex.h rwlock.h sys/kern kern_lock.c kern_mutex.c kern_rwlock.c kern_sx.c sched_ule.c subr_lock.c Log: general LOCK_PROFILING cleanup - only collect timestamps when a lock is contested - this reduces the overhead of collecting profiles from 20x to 5x - remove unused function from subr_lock.c - generalize cnt_hold and cnt_lock statistics to be kept for all locks - NOTE: rwlock profiling generates invalid statistics (and most likely always has) someone familiar with that should review Revision Changes Path 1.104 +16 -13 src/sys/kern/kern_lock.c 1.180 +8 -21 src/sys/kern/kern_mutex.c 1.13 +3 -11 src/sys/kern/kern_rwlock.c 1.33 +6 -10 src/sys/kern/kern_sx.c 1.188 +1 -1 src/sys/kern/sched_ule.c 1.13 +6 -55 src/sys/kern/subr_lock.c 1.9 +11 -32 src/sys/sys/lock_profile.h 1.88 +13 -8 src/sys/sys/mutex.h 1.6 +8 -3 src/sys/sys/rwlock.h _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"