kernel - Improve SMP collision statistics
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 8 Nov 2013 07:22:20 +0000 (23:22 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 9 Nov 2013 04:53:23 +0000 (20:53 -0800)
commitea554ff53360a1d93c73bb3f13d4d4153bb9bb32
treeeeba911a0fa1e28458d77bb62a6cd0dcc042a704
parent8a5d85ea4ca49d27fcd84551d3de198a28cdf728
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.
sys/kern/kern_lock.c
sys/kern/kern_mutex.c
sys/kern/kern_spinlock.c
sys/kern/kern_synch.c
sys/kern/lwkt_thread.c
sys/kern/lwkt_token.c
sys/sys/spinlock2.h
sys/sys/vmmeter.h