diff options
| author | Vipin Sharma <[email protected]> | 2023-03-21 22:00:16 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2023-04-04 19:37:30 +0000 |
| commit | 7ee131e3a3c38dc7939ce35861a71f4ee55d9b02 (patch) | |
| tree | 6783933d0390af8e86046bf3f6fce95f9f434380 /tools/perf/util/trace-event-scripting.c | |
| parent | KVM: x86/mmu: Remove "record_dirty_log" in __tdp_mmu_set_spte() (diff) | |
| download | kernel-7ee131e3a3c38dc7939ce35861a71f4ee55d9b02.tar.gz kernel-7ee131e3a3c38dc7939ce35861a71f4ee55d9b02.zip | |
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/[email protected]
Signed-off-by: Vipin Sharma <[email protected]>
Reviewed-by: David Matlack <[email protected]>
[sean: massage changelog]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions
