Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2013 10:16:08 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r248093 - head/sys/kern
Message-ID:  <201303091016.r29AG8jK008040@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sat Mar  9 10:16:08 2013
New Revision: 248093
URL: http://svnweb.freebsd.org/changeset/base/248093

Log:
  Correct the lock class for the vm object lock.
  
  Reported and tested by:	joel

Modified:
  head/sys/kern/subr_witness.c

Modified: head/sys/kern/subr_witness.c
==============================================================================
--- head/sys/kern/subr_witness.c	Sat Mar  9 09:07:13 2013	(r248092)
+++ head/sys/kern/subr_witness.c	Sat Mar  9 10:16:08 2013	(r248093)
@@ -602,7 +602,7 @@ static struct witness_order_list_entry o
 	 * VM
 	 */
 	{ "vm map (user)", &lock_class_sx },
-	{ "vm object", &lock_class_mtx_sleep },
+	{ "vm object", &lock_class_rw },
 	{ "vm page", &lock_class_mtx_sleep },
 	{ "vm page queue", &lock_class_mtx_sleep },
 	{ "pmap pv global", &lock_class_rw },



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