summaryrefslogtreecommitdiff
path: root/rust/helpers/build_assert.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-08-09 22:43:27 +0300
committerSean Christopherson <seanjc@google.com>2024-09-10 06:22:06 +0300
commit7aac9dc680da9390a22515c3f822c9d1907c4f02 (patch)
tree81ce83c95eb26e0a05648f1751cb6e1157f4c7c5 /rust/helpers/build_assert.c
parentc17f150000f6b06061dc109bc2dd2858898a62b2 (diff)
downloadlinux-7aac9dc680da9390a22515c3f822c9d1907c4f02.tar.xz
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/helpers/build_assert.c')
0 files changed, 0 insertions, 0 deletions