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. :-)
This commit is contained in:
Peter Wemm 2002-07-08 23:09:11 +00:00
parent b3063f064c
commit b428c5fd23

View File

@ -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);