git: kernel - Improve SMP collision statistics
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Nov 7 23:25:21 PST 2013
commit 050032ec7b66c8e64eeacdcd933e9f72ec8ea486
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Thu Nov 7 23:22:20 2013 -0800
kernel - Improve SMP collision statistics
* Populate the per-cpu collision counter and label from the spinlock,
lockmgr lock, and mutex code. The token code already used it.
* Pass __func__ to the spinlock routines so it can be copied into
the per-cpu collision label.
Summary of changes:
sys/kern/kern_lock.c | 28 ++++++++++++++++++++++++++++
sys/kern/kern_mutex.c | 13 +++++++++++++
sys/kern/kern_spinlock.c | 43 ++++++++++++++++++++++---------------------
sys/kern/kern_synch.c | 2 +-
sys/kern/lwkt_thread.c | 4 ++--
sys/kern/lwkt_token.c | 7 ++++---
sys/sys/spinlock2.h | 35 ++++++++++++++++++-----------------
sys/sys/vmmeter.h | 4 ++--
8 files changed, 90 insertions(+), 46 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/050032ec7b66c8e64eeacdcd933e9f72ec8ea486
--
DragonFly BSD source repository
More information about the Commits
mailing list