diff options
author | 2021-03-05 10:31:19 -0800 | |
---|---|---|
committer | 2021-03-15 04:44:02 -0400 | |
commit | d0a2d45654c7b117236d8b276a6b8b8bf071e342 (patch) | |
tree | 7b6737066120c185ddd6a7abef95b7aaf54b55be /arch/x86/kvm/svm/nested.c | |
parent | KVM: VMX: Invalidate hv_tlb_eptp to denote an EPTP mismatch (diff) | |
download | linux-dev-d0a2d45654c7b117236d8b276a6b8b8bf071e342.tar.xz linux-dev-d0a2d45654c7b117236d8b276a6b8b8bf071e342.zip |
KVM: VMX: Don't invalidate hv_tlb_eptp if the new EPTP matches
Don't invalidate the common EPTP, and thus trigger rechecking of EPTPs
across all vCPUs, if the new EPTP matches the old/common EPTP. In all
likelihood this is a meaningless optimization, but there are (uncommon)
scenarios where KVM can reload the same EPTP.
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210305183123.3978098-8-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm/nested.c')
0 files changed, 0 insertions, 0 deletions