aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2016-02-08 11:54:12 +0000
committerPaolo Bonzini <[email protected]>2016-09-20 07:26:20 +0000
commit095cf55df715d14d5dad75326faf5984e7fc0b3a (patch)
tree6cb5516b7594b4aaf1208b6dae4d9a1cefa9be15 /drivers/net/xen-netback/interface.c
parentKVM: x86: introduce get_kvmclock_ns (diff)
downloadkernel-095cf55df715d14d5dad75326faf5984e7fc0b3a.tar.gz
kernel-095cf55df715d14d5dad75326faf5984e7fc0b3a.zip
KVM: x86: Hyper-V tsc page setup
Lately tsc page was implemented but filled with empty values. This patch setup tsc page scale and offset based on vcpu tsc, tsc_khz and HV_X64_MSR_TIME_REF_COUNT value. The valid tsc page drops HV_X64_MSR_TIME_REF_COUNT msr reads count to zero which potentially improves performance. Signed-off-by: Andrey Smetanin <[email protected]> Reviewed-by: Peter Hornyack <[email protected]> Reviewed-by: Radim Krčmář <[email protected]> CC: Paolo Bonzini <[email protected]> CC: Roman Kagan <[email protected]> CC: Denis V. Lunev <[email protected]> [Computation of TSC page parameters rewritten to use the Linux timekeeper parameters. - Paolo] Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions