summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2016-11-05 20:15:58 +0000
committermarkj <markj@FreeBSD.org>2016-11-05 20:15:58 +0000
commit69e992c924ecbc411a5e990d427621647e3b2faa (patch)
treee389fcf72027d97af30e008dfbfe10bc38891e99
parenteed39e0d3ab490d7b08201f855fc18b44c8e37cf (diff)
downloadFreeBSD-src-69e992c924ecbc411a5e990d427621647e3b2faa.zip
FreeBSD-src-69e992c924ecbc411a5e990d427621647e3b2faa.tar.gz
MFC r308097:
Fix WITNESS hints for pagequeue locks.
-rw-r--r--sys/kern/subr_witness.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index a678635..279423c 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -599,7 +599,7 @@ static struct witness_order_list_entry order_lists[] = {
* CDEV
*/
{ "vm map (system)", &lock_class_mtx_sleep },
- { "vm page queue", &lock_class_mtx_sleep },
+ { "vm pagequeue", &lock_class_mtx_sleep },
{ "vnode interlock", &lock_class_mtx_sleep },
{ "cdev", &lock_class_mtx_sleep },
{ NULL, NULL },
@@ -609,7 +609,7 @@ static struct witness_order_list_entry order_lists[] = {
{ "vm map (user)", &lock_class_sx },
{ "vm object", &lock_class_rw },
{ "vm page", &lock_class_mtx_sleep },
- { "vm page queue", &lock_class_mtx_sleep },
+ { "vm pagequeue", &lock_class_mtx_sleep },
{ "pmap pv global", &lock_class_rw },
{ "pmap", &lock_class_mtx_sleep },
{ "pmap pv list", &lock_class_rw },
OpenPOWER on IntegriCloud