summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-02-26 03:15:41 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-03-08 18:59:09 +0300
commit58298b068137f419de8bc839d54ceacaec788870 (patch)
treeeb453b5dafdba942b205b5df8b8fce07ee8fdb37 /tools/perf/scripts/python/exported-sql-viewer.py
parentefd995dae5eba57c5d28d6886a85298b390a4f07 (diff)
downloadlinux-58298b068137f419de8bc839d54ceacaec788870.tar.xz
KVM: x86/mmu: Check for a REMOVED leaf SPTE before making the SPTE
Explicitly check for a REMOVED leaf SPTE prior to attempting to map the final SPTE when handling a TDP MMU fault. Functionally, this is a nop as tdp_mmu_set_spte_atomic() will eventually detect the frozen SPTE. Pre-checking for a REMOVED SPTE is a minor optmization, but the real goal is to allow tdp_mmu_set_spte_atomic() to have an invariant that the "old" SPTE is never a REMOVED SPTE. Signed-off-by: Sean Christopherson <seanjc@google.com> Reviewed-by: Ben Gardon <bgardon@google.com> Message-Id: <20220226001546.360188-24-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions