summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_witness.c
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2012-08-29 16:56:50 +0000
committermarius <marius@FreeBSD.org>2012-08-29 16:56:50 +0000
commit9f542929d1b68240302a302a121e7c5b57b9a315 (patch)
tree2eaa73b1b723055e82848535fa9eabdcff9c3628 /sys/kern/subr_witness.c
parenta2d01ff69e383504f0f4f419b04bc526983d433c (diff)
downloadFreeBSD-src-9f542929d1b68240302a302a121e7c5b57b9a315.zip
FreeBSD-src-9f542929d1b68240302a302a121e7c5b57b9a315.tar.gz
- Unlike cache invalidation and TLB demapping IPIs, reading registers from
other CPUs doesn't require locking so get rid of it. As the latter is used for the timecounter on certain machine models, using a spin lock in this case can lead to a deadlock with the upcoming callout(9) rework. - Merge r134227/r167250 from x86: Avoid cross-IPI SMP deadlock by using the smp_ipi_mtx spin lock not only for smp_rendezvous_cpus() but also for the MD cache invalidation and TLB demapping IPIs. - Mark some unused function arguments as such. MFC after: 1 week
Diffstat (limited to 'sys/kern/subr_witness.c')
-rw-r--r--sys/kern/subr_witness.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index 840eb46..c2aed86 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -669,9 +669,6 @@ static struct witness_order_list_entry order_lists[] = {
*/
{ "intrcnt", &lock_class_mtx_spin },
{ "icu", &lock_class_mtx_spin },
-#if defined(SMP) && defined(__sparc64__)
- { "ipi", &lock_class_mtx_spin },
-#endif
#ifdef __i386__
{ "allpmaps", &lock_class_mtx_spin },
{ "descriptor tables", &lock_class_mtx_spin },
OpenPOWER on IntegriCloud