diff options
author | Sean Christopherson <seanjc@google.com> | 2024-08-09 21:43:27 +0200 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-09-10 05:22:06 +0200 |
commit | 7aac9dc680da9390a22515c3f822c9d1907c4f02 (patch) | |
tree | 81ce83c95eb26e0a05648f1751cb6e1157f4c7c5 /rust | |
parent | KVM: x86/mmu: Morph kvm_handle_gfn_range() into an aging specific helper (diff) | |
download | linux-7aac9dc680da9390a22515c3f822c9d1907c4f02.tar.xz linux-7aac9dc680da9390a22515c3f822c9d1907c4f02.zip |
KVM: x86/mmu: Fold mmu_spte_age() into kvm_rmap_age_gfn_range()
Fold mmu_spte_age() into its sole caller now that aging and testing for
young SPTEs is handled in a common location, i.e. doesn't require more
helpers.
Opportunistically remove the use of mmu_spte_get_lockless(), as mmu_lock
is held (for write!), and marking SPTEs for access tracking outside of
mmu_lock is unsafe (at least, as written). I.e. using the lockless
accessor is quite misleading.
No functional change intended.
Link: https://lore.kernel.org/r/20240809194335.1726916-16-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions