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>
Fri, 8 Nov 2013 07:22:20 +0000 (23:22 -0800)
commit050032ec7b66c8e64eeacdcd933e9f72ec8ea486
treec19b6fbce459e26e65a7f665151fc6a8042739a6
parent904de023fba0b7649692f09b68f6a7c1cba8d38a
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