summaryrefslogtreecommitdiff
path: root/include/linux/processor.h
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-10-10 21:23:13 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2024-10-25 19:55:12 +0300
commit6419bc52072b928acb764766968c672d5fede802 (patch)
treec6dd7677460d3c36756ee9d7e9b9bfc5ecd2fff9 /include/linux/processor.h
parent661fa987e4b5a020dd697689fabcd3701600ba6f (diff)
downloadlinux-6419bc52072b928acb764766968c672d5fede802.tar.xz
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 'include/linux/processor.h')
0 files changed, 0 insertions, 0 deletions