diff options
author | peter <peter@FreeBSD.org> | 2002-07-08 23:09:11 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-07-08 23:09:11 +0000 |
commit | 94af63d2929b9e49d515cfdd378857924a912071 (patch) | |
tree | d81b73f664307e148c1d8194651671fb5ce4cd86 /sys/vm/vm_zeroidle.c | |
parent | 152cae690e809118776fcb8929882f18f0ad862c (diff) | |
download | FreeBSD-src-94af63d2929b9e49d515cfdd378857924a912071.zip FreeBSD-src-94af63d2929b9e49d515cfdd378857924a912071.tar.gz |
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. :-)
Diffstat (limited to 'sys/vm/vm_zeroidle.c')
-rw-r--r-- | sys/vm/vm_zeroidle.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |