diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2004-06-23 17:42:47 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2004-06-23 17:42:47 +0000 |
commit | dede330f36d279a7b8d32a180b75202c42842412 (patch) | |
tree | f82e239864774b3121330057137bfe7c79fdbd53 /sys/arch | |
parent | 719a17b6cf3d68602e83425a9599bab843184fe2 (diff) |
Do not send IPIs while cold. Should probably fix the pmap_kremove panics some have seen.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/i386/pmap.c | 5 |
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. */ |