diff options
author | 2024-10-10 11:24:25 -0700 | |
---|---|---|
committer | 2024-10-25 13:01:35 -0400 | |
commit | 2362506f7cff7cdd6b734b7d350568a545a1009b (patch) | |
tree | dd503bbd8aceebfde08606b6452b8d5836b9aa80 /scripts/gdb/linux/modules.py | |
parent | KVM: x86/mmu: Don't mark "struct page" accessed when zapping SPTEs (diff) | |
download | wireguard-linux-2362506f7cff7cdd6b734b7d350568a545a1009b.tar.xz wireguard-linux-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 <alex.bennee@linaro.org>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20241010182427.1434605-84-seanjc@google.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions