aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2018-07-23 12:32:50 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2018-08-06 17:59:17 +0200
commit5e079c7ece1060491ef4a45414823162cce91b3d (patch)
tree31374e01961924f1ff4d32535f4677812623b975 /tools/perf/scripts/python/stat-cpi.py
parent8f21a0bbf36f58334695ae6e46c0cf906a217154 (diff)
KVM: vmx: skip VMWRITE of HOST_{FS,GS}_BASE when possible
The host's FS.base and GS.base rarely change, e.g. ~0.1% of host/guest swaps on my system. Cache the last value written to the VMCS and skip the VMWRITE to the associated VMCS fields when loading host state if the value hasn't changed since the last VMWRITE. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions