commit | 9254beaafd12e27d48149fab3b16db372bc90ad7 | [log] [tgz] |
---|---|---|
author | Like Xu <like.xu@linux.intel.com> | Mon Feb 01 13:10:35 2021 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Feb 04 05:27:25 2021 -0500 |
tree | 9270a2f798b1339fa0384ecfc2ea14fbd09a4c38 | |
parent | 1b5ac3226a1aa071135fe0ee5d1055d9e88b717c [diff] |
KVM: vmx/pmu: Reduce the overhead of LBR pass-through or cancellation When the LBR records msrs has already been pass-through, there is no need to call vmx_update_intercept_for_lbr_msrs() again and again, and vice versa. Signed-off-by: Like Xu <like.xu@linux.intel.com> Reviewed-by: Andi Kleen <ak@linux.intel.com> Message-Id: <20210201051039.255478-8-like.xu@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>