diff options
| author | Sean Christopherson <[email protected]> | 2024-08-09 19:43:27 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2024-09-10 03:22:06 +0000 |
| commit | 7aac9dc680da9390a22515c3f822c9d1907c4f02 (patch) | |
| tree | 81ce83c95eb26e0a05648f1751cb6e1157f4c7c5 /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | KVM: x86/mmu: Morph kvm_handle_gfn_range() into an aging specific helper (diff) | |
| download | kernel-7aac9dc680da9390a22515c3f822c9d1907c4f02.tar.gz kernel-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/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions
