diff options
author | alc <alc@FreeBSD.org> | 2012-06-27 03:45:25 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2012-06-27 03:45:25 +0000 |
commit | c5e6daff9d76cdf85b52505450df8b30e70c238e (patch) | |
tree | 6e4d62a3871ea00945f2e5d0fc1b3aeed7240f1f /sys/kern/subr_witness.c | |
parent | ac802785353aeea633a835066d573014634093b0 (diff) | |
download | FreeBSD-src-c5e6daff9d76cdf85b52505450df8b30e70c238e.zip FreeBSD-src-c5e6daff9d76cdf85b52505450df8b30e70c238e.tar.gz |
Add new pmap layer locks to the predefined lock order. Change the names
of a few existing VM locks to follow a consistent naming scheme.
Diffstat (limited to 'sys/kern/subr_witness.c')
-rw-r--r-- | sys/kern/subr_witness.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index f14be50..aeaa3d2 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -593,19 +593,22 @@ static struct witness_order_list_entry order_lists[] = { /* * CDEV */ - { "system map", &lock_class_mtx_sleep }, - { "vm page queue mutex", &lock_class_mtx_sleep }, + { "vm map (system)", &lock_class_mtx_sleep }, + { "vm page queue", &lock_class_mtx_sleep }, { "vnode interlock", &lock_class_mtx_sleep }, { "cdev", &lock_class_mtx_sleep }, { NULL, NULL }, /* * VM - * */ + { "vm map (user)", &lock_class_sx }, { "vm object", &lock_class_mtx_sleep }, - { "page lock", &lock_class_mtx_sleep }, - { "vm page queue mutex", &lock_class_mtx_sleep }, + { "vm page", &lock_class_mtx_sleep }, + { "vm page queue", &lock_class_mtx_sleep }, + { "pmap pv global", &lock_class_rw }, { "pmap", &lock_class_mtx_sleep }, + { "pmap pv list", &lock_class_rw }, + { "vm page free queue", &lock_class_mtx_sleep }, { NULL, NULL }, /* * kqueue/VFS interaction |