Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2016 20:01:48 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r308097 - head/sys/kern
Message-ID:  <201610292001.u9TK1mLw058255@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 },



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610292001.u9TK1mLw058255>