diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2017-02-14 15:39:15 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2017-02-14 15:39:15 +0000 |
commit | a1780750f93111501158e2aeabbdda3a89fea1aa (patch) | |
tree | cf91decec714f029c344f96e3bc96e56f7b4918e /sys | |
parent | 4317eb1f70850894565cbd3e0f17013d60ea2121 (diff) |
Set the default TSC quality to -1000 to be less than the i8254
This makes sure that TSC is not used if we really don't want to. The
kernel bumps the quality to 2000 for constant invariants TSCs on
latest CPUs only.
OK mikeb@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/amd64/identcpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/identcpu.c b/sys/arch/amd64/amd64/identcpu.c index da9216a3995..f40fe9e8138 100644 --- a/sys/arch/amd64/amd64/identcpu.c +++ b/sys/arch/amd64/amd64/identcpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: identcpu.c,v 1.80 2017/01/13 17:15:27 mikeb Exp $ */ +/* $OpenBSD: identcpu.c,v 1.81 2017/02/14 15:39:14 reyk Exp $ */ /* $NetBSD: identcpu.c,v 1.1 2003/04/26 18:39:28 fvdl Exp $ */ /* @@ -60,7 +60,7 @@ int cpuspeed; u_int tsc_get_timecount(struct timecounter *tc); struct timecounter tsc_timecounter = { - tsc_get_timecount, NULL, ~0u, 0, "tsc", 0, NULL + tsc_get_timecount, NULL, ~0u, 0, "tsc", -1000, NULL }; int amd64_has_xcrypt; |