git: DragonFly_RELEASE_3_6 kernel - Improve SMP collision statistics
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Nov 8 20:54:05 PST 2013
commit ea554ff53360a1d93c73bb3f13d4d4153bb9bb32
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/ea554ff53360a1d93c73bb3f13d4d4153bb9bb32
--
DragonFly BSD source repository
More information about the Commits
mailing list