aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-10-10 18:24:25 +0000
committerPaolo Bonzini <[email protected]>2024-10-25 17:01:35 +0000
commit2362506f7cff7cdd6b734b7d350568a545a1009b (patch)
treedd503bbd8aceebfde08606b6452b8d5836b9aa80 /rust/helpers/helpers.c
parentKVM: x86/mmu: Don't mark "struct page" accessed when zapping SPTEs (diff)
downloadkernel-2362506f7cff7cdd6b734b7d350568a545a1009b.tar.gz
kernel-2362506f7cff7cdd6b734b7d350568a545a1009b.zip
KVM: arm64: Don't mark "struct page" accessed when making SPTE young
Don't mark pages/folios as accessed in the primary MMU when making a SPTE young in KVM's secondary MMU, as doing so relies on kvm_pfn_to_refcounted_page(), and generally speaking is unnecessary and wasteful. KVM participates in page aging via mmu_notifiers, so there's no need to push "accessed" updates to the primary MMU. Dropping use of kvm_set_pfn_accessed() also paves the way for removing kvm_pfn_to_refcounted_page() and all its users. Tested-by: Alex BennĂ©e <[email protected]> Signed-off-by: Sean Christopherson <[email protected]> Tested-by: Dmitry Osipenko <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Message-ID: <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions