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:
parent
2c2bebfcb3
commit
4a32616a77
@ -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 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user