diff options
author | Vipin Sharma <vipinsh@google.com> | 2023-03-22 01:00:16 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-04-04 22:37:30 +0300 |
commit | 7ee131e3a3c38dc7939ce35861a71f4ee55d9b02 (patch) | |
tree | 6783933d0390af8e86046bf3f6fce95f9f434380 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e73008705d0c88ac69e3fe262bb03d86af23c521 (diff) | |
download | linux-7ee131e3a3c38dc7939ce35861a71f4ee55d9b02.tar.xz |
KVM: x86/mmu: Clear only A-bit (if enabled) when aging TDP MMU SPTEs
Use tdp_mmu_clear_spte_bits() when clearing the Accessed bit in TDP MMU
SPTEs so as to use an atomic-AND instead of XCHG to clear the A-bit.
Similar to the D-bit story, this will allow KVM to bypass
__handle_changed_spte() by ensuring only the A-bit is modified.
Link: https://lore.kernel.org/all/Y9HcHRBShQgjxsQb@google.com
Signed-off-by: Vipin Sharma <vipinsh@google.com>
Reviewed-by: David Matlack <dmatlack@google.com>
[sean: massage changelog]
Link: https://lore.kernel.org/r/20230321220021.2119033-9-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions