svn commit: r209403 - head/sys/kern

Alexander Motin mav at FreeBSD.org
Mon Jun 21 21:15:52 UTC 2010


Author: mav
Date: Mon Jun 21 21:15:51 2010
New Revision: 209403
URL: http://svn.freebsd.org/changeset/base/209403

Log:
  "time lock" is no longer a spin-lock since r209371.
  
  Reported by:	kib@

Modified:
  head/sys/kern/subr_witness.c

Modified: head/sys/kern/subr_witness.c
==============================================================================
--- head/sys/kern/subr_witness.c	Mon Jun 21 20:27:32 2010	(r209402)
+++ head/sys/kern/subr_witness.c	Mon Jun 21 21:15:51 2010	(r209403)
@@ -495,6 +495,7 @@ static struct witness_order_list_entry o
 #ifdef	HWPMC_HOOKS
 	{ "pmc-sleep", &lock_class_mtx_sleep },
 #endif
+	{ "time lock", &lock_class_mtx_sleep },
 	{ NULL, NULL },
 	/*
 	 * Sockets
@@ -654,7 +655,6 @@ static struct witness_order_list_entry o
 	{ "callout", &lock_class_mtx_spin },
 	{ "entropy harvest mutex", &lock_class_mtx_spin },
 	{ "syscons video lock", &lock_class_mtx_spin },
-	{ "time lock", &lock_class_mtx_spin },
 #ifdef SMP
 	{ "smp rendezvous", &lock_class_mtx_spin },
 #endif


More information about the svn-src-head mailing list