summaryrefslogtreecommitdiffstats
path: root/sbin/dump
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2007-02-27 06:42:05 +0000
committerkmacy <kmacy@FreeBSD.org>2007-02-27 06:42:05 +0000
commitb7672bad26dbe5a50937a2e258fe957b1bc19a8d (patch)
treec7228dd81a9d5cf5855323c889da39c667a4dd5a /sbin/dump
parent128ac1d5958eb05b5b0c08882c80a3f90ef76d1b (diff)
downloadFreeBSD-src-b7672bad26dbe5a50937a2e258fe957b1bc19a8d.zip
FreeBSD-src-b7672bad26dbe5a50937a2e258fe957b1bc19a8d.tar.gz
Further improvements to LOCK_PROFILING:
- Fix missing initialization in kern_rwlock.c causing bogus times to be collected - Move updates to the lock hash to after the lock is released for spin mutexes, sleep mutexes, and sx locks - Add new kernel build option LOCK_PROFILE_FAST - only update lock profiling statistics when an acquisition is contended. This reduces the overhead of LOCK_PROFILING to increasing system time by 20%-25% which on "make -j8 kernel-toolchain" on a dual woodcrest is unmeasurable in terms of wall-clock time. Contrast this to enabling lock profiling without LOCK_PROFILE_FAST and I see a 5x-6x slowdown in wall-clock time.
Diffstat (limited to 'sbin/dump')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud