Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 2010 21:15:51 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r209403 - head/sys/kern
Message-ID:  <201006212115.o5LLFpnV039220@svn.freebsd.org>

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



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