aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorVipin Sharma <[email protected]>2023-03-21 15:00:11 -0700
committerSean Christopherson <[email protected]>2023-04-04 12:37:30 -0700
commit697c89bed94effde145d84e618142dd89b2b54af (patch)
tree651b62af4618d6b9550a3b09ca70e0ed825f4c1a /lib/mpi/mpi-mod.c
parent5982a5392663b30f57ee90b0372c19a7e9cb655a (diff)
KVM: x86/mmu: Consolidate Dirty vs. Writable clearing logic in TDP MMU
Deduplicate the guts of the TDP MMU's clearing of dirty status by snapshotting whether to check+clear the Dirty bit vs. the Writable bit, which is the only difference between the two flavors of dirty tracking. Note, kvm_ad_enabled() is just a wrapper for shadow_accessed_mask, i.e. is constant after kvm-{intel,amd}.ko is loaded. Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Vipin Sharma <[email protected]> [sean: split to separate patch, apply to dirty log, write changelog] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions