summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2004-06-23 17:42:47 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2004-06-23 17:42:47 +0000
commitdede330f36d279a7b8d32a180b75202c42842412 (patch)
treef82e239864774b3121330057137bfe7c79fdbd53
parent719a17b6cf3d68602e83425a9599bab843184fe2 (diff)
Do not send IPIs while cold. Should probably fix the pmap_kremove panics some have seen.
-rw-r--r--sys/arch/i386/i386/pmap.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c
index dd34d9b7625..ea8bc0b9efe 100644
--- a/sys/arch/i386/i386/pmap.c
+++ b/sys/arch/i386/i386/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.76 2004/06/13 21:49:15 niklas Exp $ */
+/* $OpenBSD: pmap.c,v 1.77 2004/06/23 17:42:46 niklas Exp $ */
/* $NetBSD: pmap.c,v 1.91 2000/06/02 17:46:37 thorpej Exp $ */
/*
@@ -3515,6 +3515,9 @@ pmap_tlb_shootnow(int32_t cpumask)
#ifdef MULTIPROCESSOR
splx(s);
+ if (cold)
+ return;
+
/*
* Send the TLB IPI to other CPUs pending shootdowns.
*/