diff options
author | wkoszek <wkoszek@FreeBSD.org> | 2007-04-01 15:48:10 +0000 |
---|---|---|
committer | wkoszek <wkoszek@FreeBSD.org> | 2007-04-01 15:48:10 +0000 |
commit | aae26bbf9f3e52bc678e6420b820b073f7f52c2b (patch) | |
tree | be01ec84801827c5345a4c4befad5df85d8eb774 /sys | |
parent | 67f818ba42befbde9bdd93f897c246fb8236b847 (diff) | |
download | FreeBSD-src-aae26bbf9f3e52bc678e6420b820b073f7f52c2b.zip FreeBSD-src-aae26bbf9f3e52bc678e6420b820b073f7f52c2b.tar.gz |
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/subr_witness.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index d09ab6f..069804e 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -362,6 +362,12 @@ static struct witness_order_list_entry order_lists[] = { { "so_snd", &lock_class_mtx_sleep }, { NULL, NULL }, /* + * Netgraph + */ + { "ng_node", &lock_class_mtx_sleep }, + { "ng_worklist", &lock_class_mtx_sleep }, + { NULL, NULL }, + /* * CDEV */ { "system map", &lock_class_mtx_sleep }, @@ -390,8 +396,6 @@ static struct witness_order_list_entry order_lists[] = { { "scc_hwmtx", &lock_class_mtx_spin }, { "uart_hwmtx", &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 }, { "intr table", &lock_class_mtx_spin }, { "sleepq chain", &lock_class_mtx_spin }, |