Author: markj
Date: Sat Oct 29 20:01:48 2016
New Revision: 308097
URL: https://svnweb.freebsd.org/changeset/base/308097

Log:
  Fix WITNESS hints for pagequeue locks.
  
  MFC after:    1 week

Modified:
  head/sys/kern/subr_witness.c

Modified: head/sys/kern/subr_witness.c
==============================================================================
--- head/sys/kern/subr_witness.c        Sat Oct 29 19:22:38 2016        
(r308096)
+++ head/sys/kern/subr_witness.c        Sat Oct 29 20:01:48 2016        
(r308097)
@@ -599,7 +599,7 @@ static struct witness_order_list_entry o
         * 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 o
        { "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 },
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to