aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorPeng Hao <[email protected]>2018-07-14 23:28:29 +0800
committerPaolo Bonzini <[email protected]>2018-07-18 11:43:17 +0200
commite10f7805032365cc11c739a97f226ebb48aee042 (patch)
treefe7cf33daa3ef5a8fc7ae2a1ae64a417686c9860 /scripts/gdb/linux/lists.py
parent2307af1c4b2e0ad886f30e31739845322cbd328b (diff)
kvmclock: fix TSC calibration for nested guests
Inside a nested guest, access to hardware can be slow enough that tsc_read_refs always return ULLONG_MAX, causing tsc_refine_calibration_work to be called periodically and the nested guest to spend a lot of time reading the ACPI timer. However, if the TSC frequency is available from the pvclock page, we can just set X86_FEATURE_TSC_KNOWN_FREQ and avoid the recalibration. 'refine' operation. Suggested-by: Peter Zijlstra <[email protected]> Signed-off-by: Peng Hao <[email protected]> [Commit message rewritten. - Paolo] Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions