diff options
author | Vitaly Kuznetsov <[email protected]> | 2015-08-19 09:54:24 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-08-21 08:44:38 +0200 |
commit | 88c9281a9fba67636ab26c1fd6afbc78a632374f (patch) | |
tree | 3533bbf23d002ee4cb2c95f3b2beca42f4e90a16 /kernel/async.c | |
parent | 955381dd65654bd6f066408823691db8fa7d05bb (diff) |
x86/hyperv: Mark the Hyper-V TSC as unstable
The Hyper-V top-level functional specification states, that
"algorithms should be resilient to sudden jumps forward or
backward in the TSC value", this means that we should consider
TSC as unstable. In some cases tsc tests are able to detect the
instability, it was detected in 543 out of 646 boots in my
testing:
Measured 6277 cycles TSC warp between CPUs, turning off TSC clock.
tsc: Marking TSC unstable due to check_tsc_sync_source failed
This is, however, just a heuristic. On Hyper-V platform there
are two good clocksources: MSR-based hyperv_clocksource and
recently introduced TSC page.
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Cc: Haiyang Zhang <[email protected]>
Cc: K. Y. Srinivasan <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'kernel/async.c')
0 files changed, 0 insertions, 0 deletions