summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-04-13 08:31:38 +0000
committerjhb <jhb@FreeBSD.org>2001-04-13 08:31:38 +0000
commitc987a9115bfb1e77e72981a0e41155382b06af54 (patch)
tree6da094d2439b14953d69be9b39717a217020ddb5 /sys
parentcbfd1f0c04d051ab1f3387661875ff7995803e11 (diff)
downloadFreeBSD-src-c987a9115bfb1e77e72981a0e41155382b06af54.zip
FreeBSD-src-c987a9115bfb1e77e72981a0e41155382b06af54.tar.gz
- Add a comment at the start of the spin locks list.
- The alpha SMP code uses an "ap boot" spinlock as well.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_witness.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index 06ee342..c9e186d 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -192,6 +192,9 @@ static struct witness_order_list_entry order_lists[] = {
{ "uidinfo hash", &lock_class_mtx_sleep },
{ "uidinfo struct", &lock_class_mtx_sleep },
{ NULL, NULL },
+ /*
+ * spin locks
+ */
#if defined(__i386__) && defined (SMP)
{ "com", &lock_class_mtx_spin },
#endif
@@ -212,8 +215,8 @@ static struct witness_order_list_entry order_lists[] = {
* leaf locks
*/
#ifdef SMP
-#ifdef __i386__
{ "ap boot", &lock_class_mtx_spin },
+#ifdef __i386__
{ "imen", &lock_class_mtx_spin },
#endif
{ "smp rendezvous", &lock_class_mtx_spin },
OpenPOWER on IntegriCloud