summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-04-23 06:47:41 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-05-03 14:22:31 +0300
commit706c9c55e5a32800605eb6a864ef6e1ca0c6c179 (patch)
tree92e3fdad361f2eb97c0fe60197738b3f2be02f91 /tools/perf/scripts/python/export-to-sqlite.py
parent44187235cbcc7c1129ea7c004bc12f8757d29415 (diff)
downloadlinux-706c9c55e5a32800605eb6a864ef6e1ca0c6c179.tar.xz
KVM: x86/mmu: Don't treat fully writable SPTEs as volatile (modulo A/D)
Don't treat SPTEs that are truly writable, i.e. writable in hardware, as being volatile (unless they're volatile for other reasons, e.g. A/D bits). KVM _sets_ the WRITABLE bit out of mmu_lock, but never _clears_ the bit out of mmu_lock, so if the WRITABLE bit is set, it cannot magically get cleared just because the SPTE is MMU-writable. Rename the wrapper of MMU-writable to be more literal, the previous name of spte_can_locklessly_be_made_writable() is wrong and misleading. Fixes: c7ba5b48cc8d ("KVM: MMU: fast path of handling guest page fault") Cc: stable@vger.kernel.org Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20220423034752.1161007-2-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions