From 94af63d2929b9e49d515cfdd378857924a912071 Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 8 Jul 2002 23:09:11 +0000 Subject: Turn the zeroidle process off for SMP systems, there is still a possible TLB problem when bouncing from one cpu to another (the original cpu will not have purged its TLB if the it simply went idle). Pointed out by: Tor.Egge@cvsup.no.freebsd.org Approved by: Tor is never wrong. :-) --- sys/vm/vm_zeroidle.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/vm/vm_zeroidle.c b/sys/vm/vm_zeroidle.c index 52a055d..31a332c 100644 --- a/sys/vm/vm_zeroidle.c +++ b/sys/vm/vm_zeroidle.c @@ -30,7 +30,11 @@ static int cnt_prezero; SYSCTL_INT(_vm_stats_misc, OID_AUTO, cnt_prezero, CTLFLAG_RD, &cnt_prezero, 0, ""); +#ifdef SMP +static int idlezero_enable = 0; +#else static int idlezero_enable = 1; +#endif SYSCTL_INT(_vm, OID_AUTO, idlezero_enable, CTLFLAG_RW, &idlezero_enable, 0, ""); TUNABLE_INT("vm.idlezero_enable", &idlezero_enable); -- cgit v1.1