From dede330f36d279a7b8d32a180b75202c42842412 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Wed, 23 Jun 2004 17:42:47 +0000 Subject: Do not send IPIs while cold. Should probably fix the pmap_kremove panics some have seen. --- sys/arch/i386/i386/pmap.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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. */ -- cgit v1.2.3