ng_node and ng_worklist locks both migrated from being spinning locks to
adaptive mutexes. Let witness(4) calm down and bring proper types of those locks to the lock order database. Glanced at by: rwatson
This commit is contained in:
parent
4874b3fb12
commit
4850546f51
@ -361,6 +361,12 @@ static struct witness_order_list_entry order_lists[] = {
|
|||||||
{ "nfsd_mtx", &lock_class_mtx_sleep },
|
{ "nfsd_mtx", &lock_class_mtx_sleep },
|
||||||
{ "so_snd", &lock_class_mtx_sleep },
|
{ "so_snd", &lock_class_mtx_sleep },
|
||||||
{ NULL, NULL },
|
{ NULL, NULL },
|
||||||
|
/*
|
||||||
|
* Netgraph
|
||||||
|
*/
|
||||||
|
{ "ng_node", &lock_class_mtx_sleep },
|
||||||
|
{ "ng_worklist", &lock_class_mtx_sleep },
|
||||||
|
{ NULL, NULL },
|
||||||
/*
|
/*
|
||||||
* CDEV
|
* CDEV
|
||||||
*/
|
*/
|
||||||
@ -390,8 +396,6 @@ static struct witness_order_list_entry order_lists[] = {
|
|||||||
{ "scc_hwmtx", &lock_class_mtx_spin },
|
{ "scc_hwmtx", &lock_class_mtx_spin },
|
||||||
{ "uart_hwmtx", &lock_class_mtx_spin },
|
{ "uart_hwmtx", &lock_class_mtx_spin },
|
||||||
{ "zstty", &lock_class_mtx_spin },
|
{ "zstty", &lock_class_mtx_spin },
|
||||||
{ "ng_node", &lock_class_mtx_spin },
|
|
||||||
{ "ng_worklist", &lock_class_mtx_spin },
|
|
||||||
{ "fast_taskqueue", &lock_class_mtx_spin },
|
{ "fast_taskqueue", &lock_class_mtx_spin },
|
||||||
{ "intr table", &lock_class_mtx_spin },
|
{ "intr table", &lock_class_mtx_spin },
|
||||||
{ "sleepq chain", &lock_class_mtx_spin },
|
{ "sleepq chain", &lock_class_mtx_spin },
|
||||||
|
Loading…
Reference in New Issue
Block a user