summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_witness.c
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-12-22 20:50:23 +0000
committerjake <jake@FreeBSD.org>2002-12-22 20:50:23 +0000
commit02d82494717cab163d9865b5886923be8b7412ff (patch)
treed45e59df844abe5565f5ea76c12ac842b67521a1 /sys/kern/subr_witness.c
parenta658b7f4f99cc87b1f1118c9f2a7944afb3998f5 (diff)
downloadFreeBSD-src-02d82494717cab163d9865b5886923be8b7412ff.zip
FreeBSD-src-02d82494717cab163d9865b5886923be8b7412ff.tar.gz
- Add a spin lock to single thread cache invalidation and tlb flush ipis,
which allows ipis to be sent outside of Giant. - Remove the ap boot mutex, which is unused.
Diffstat (limited to 'sys/kern/subr_witness.c')
-rw-r--r--sys/kern/subr_witness.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index 05d279a..15e2948 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -237,6 +237,9 @@ static struct witness_order_list_entry order_lists[] = {
#if defined(__i386__) && defined(APIC_IO)
{ "tlb", &lock_class_mtx_spin },
#endif
+#ifdef __sparc64__
+ { "ipi", &lock_class_mtx_spin },
+#endif
#endif
{ "clk", &lock_class_mtx_spin },
{ "mutex profiling lock", &lock_class_mtx_spin },
OpenPOWER on IntegriCloud