Fix the spinlock static table adding missing spinlocks.

- rm_spinlock has turnstile chain as child
- srclock has callout and clk as child, found by witness "emulation".
  Just move it very high in our ranking
This commit is contained in:
Attilio Rao 2007-11-24 04:32:32 +00:00
parent 2c2bebfcb3
commit 4a32616a77
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173877

View File

@ -404,6 +404,7 @@ static struct witness_order_list_entry order_lists[] = {
#endif
{ "rm.mutex_mtx", &lock_class_mtx_spin },
{ "sio", &lock_class_mtx_spin },
{ "scrlock", &lock_class_mtx_spin },
#ifdef __i386__
{ "cy", &lock_class_mtx_spin },
#endif
@ -421,6 +422,7 @@ static struct witness_order_list_entry order_lists[] = {
{ "process slock", &lock_class_mtx_spin },
{ "sleepq chain", &lock_class_mtx_spin },
{ "umtx lock", &lock_class_mtx_spin },
{ "rm_spinlock", &lock_class_mtx_spin },
{ "turnstile chain", &lock_class_mtx_spin },
{ "turnstile lock", &lock_class_mtx_spin },
{ "sched lock", &lock_class_mtx_spin },