svn commit: r189840 - user/kmacy/releng_7_net_backport/sys/kern

Kip Macy kmacy at FreeBSD.org
Sat Mar 14 16:59:54 PDT 2009


Author: kmacy
Date: Sat Mar 14 23:59:53 2009
New Revision: 189840
URL: http://svn.freebsd.org/changeset/base/189840

Log:
  update lock types

Modified:
  user/kmacy/releng_7_net_backport/sys/kern/subr_witness.c

Modified: user/kmacy/releng_7_net_backport/sys/kern/subr_witness.c
==============================================================================
--- user/kmacy/releng_7_net_backport/sys/kern/subr_witness.c	Sat Mar 14 23:48:03 2009	(r189839)
+++ user/kmacy/releng_7_net_backport/sys/kern/subr_witness.c	Sat Mar 14 23:59:53 2009	(r189840)
@@ -306,7 +306,7 @@ static struct witness_order_list_entry o
 	 * Routing
 	 */
 	{ "so_rcv", &lock_class_mtx_sleep },
-	{ "radix node head", &lock_class_mtx_sleep },
+	{ "radix node head", &lock_class_rw },
 	{ "rtentry", &lock_class_mtx_sleep },
 	{ "ifaddr", &lock_class_mtx_sleep },
 	{ NULL, NULL },
@@ -321,6 +321,8 @@ static struct witness_order_list_entry o
 	/*
 	 * UNIX Domain Sockets
 	 */
+	{ "unp_global_rwlock", &lock_class_rw },
+	{ "unp_list_lock", &lock_class_mtx_sleep },
 	{ "unp", &lock_class_mtx_sleep },
 	{ "so_snd", &lock_class_mtx_sleep },
 	{ NULL, NULL },
@@ -422,6 +424,7 @@ static struct witness_order_list_entry o
 	{ "process slock", &lock_class_mtx_spin },
 	{ "sleepq chain", &lock_class_mtx_spin },
 	{ "umtx lock", &lock_class_mtx_spin },
+	{ "rm_spinlock", &lock_class_mtx_spin },
 	{ "turnstile chain", &lock_class_mtx_spin },
 	{ "turnstile lock", &lock_class_mtx_spin },
 	{ "sched lock", &lock_class_mtx_spin },
@@ -436,6 +439,7 @@ static struct witness_order_list_entry o
 	/*
 	 * leaf locks
 	 */
+	{ "intrcnt", &lock_class_mtx_spin },
 	{ "icu", &lock_class_mtx_spin },
 #if defined(SMP) && defined(__sparc64__)
 	{ "ipi", &lock_class_mtx_spin },


More information about the svn-src-user mailing list