summaryrefslogtreecommitdiff
path: root/kernel/ksysfs.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-10-10 11:23:13 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2024-10-25 12:55:12 -0400
commit6419bc52072b928acb764766968c672d5fede802 (patch)
treec6dd7677460d3c36756ee9d7e9b9bfc5ecd2fff9 /kernel/ksysfs.c
parent661fa987e4b5a020dd697689fabcd3701600ba6f (diff)
downloadlinux-6419bc52072b928acb764766968c672d5fede802.tar.gz
linux-6419bc52072b928acb764766968c672d5fede802.tar.bz2
linux-6419bc52072b928acb764766968c672d5fede802.zip
KVM: Rename gfn_to_page_many_atomic() to kvm_prefetch_pages()
Rename gfn_to_page_many_atomic() to kvm_prefetch_pages() to try and communicate its true purpose, as the "atomic" aspect is essentially a side effect of the fact that x86 uses the API while holding mmu_lock. E.g. even if mmu_lock weren't held, KVM wouldn't want to fault-in pages, as the goal is to opportunistically grab surrounding pages that have already been accessed and/or dirtied by the host, and to do so quickly. 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-12-seanjc@google.com>
Diffstat (limited to 'kernel/ksysfs.c')
0 files changed, 0 insertions, 0 deletions