Date: Mon, 26 Feb 2007 08:26:44 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys lock_profile.h mutex.h rwlock.h src/sys/kern kern_lock.c kern_mutex.c kern_rwlock.c kern_sx.c sched_ule.c subr_lock.c Message-ID: <200702260826.l1Q8QiMA094500@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702260826.l1Q8QiMA094500>