diff options
author | 2017-02-14 15:39:14 +0000 | |
---|---|---|
committer | 2017-02-14 15:39:14 +0000 | |
commit | 399294b97690518424b33a126a40fc8e4f0e4fd5 (patch) | |
tree | c4fda95ffeb39a1565751d1b4db8eed62e0a553b | |
parent | add new implementation of a standalone LMTP client which will deprecate the (diff) | |
download | wireguard-openbsd-399294b97690518424b33a126a40fc8e4f0e4fd5.tar.xz wireguard-openbsd-399294b97690518424b33a126a40fc8e4f0e4fd5.zip |
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@
-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; |