diff options
author | jeff <jeff@FreeBSD.org> | 2005-04-22 22:43:31 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-04-22 22:43:31 +0000 |
commit | 4eaa5ebe1b398d29898cdb2de4fb14b744b1d387 (patch) | |
tree | 8d111d3043236abc759cdc9eeaad662703dccb30 | |
parent | cb40cf9c098230b2263f6c16f1c55006e5c87018 (diff) | |
download | FreeBSD-src-4eaa5ebe1b398d29898cdb2de4fb14b744b1d387.zip FreeBSD-src-4eaa5ebe1b398d29898cdb2de4fb14b744b1d387.tar.gz |
- Define the real lock order with cdev and a few vm/vfs related locks. This
can be removed once cdev no longer calls free() with the cdev lock held.
-rw-r--r-- | sys/kern/subr_witness.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index f56b6d5..7c71f53 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -333,8 +333,10 @@ static struct witness_order_list_entry order_lists[] = { /* * CDEV */ - { "cdev", &lock_class_mtx_sleep }, { "system map", &lock_class_mtx_sleep }, + { "vm page queue mutex", &lock_class_mtx_sleep }, + { "vnode interlock", &lock_class_mtx_sleep }, + { "cdev", &lock_class_mtx_sleep }, { NULL, NULL }, /* * spin locks |