aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorDavid Matlack <dmatlack@google.com>2021-08-04 22:28:39 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2021-08-06 07:52:28 -0400
commit0f22af940dc8ec4f437189096a5f8677995323b0 (patch)
tree2aed49d93f3e57ecf5d5e04bfb73f71e474eaf1b /virt/kvm
parentKVM: Rename lru_slot to last_used_slot (diff)
downloadlinux-dev-0f22af940dc8ec4f437189096a5f8677995323b0.tar.xz
linux-dev-0f22af940dc8ec4f437189096a5f8677995323b0.zip
KVM: Move last_used_slot logic out of search_memslots
Make search_memslots unconditionally search all memslots and move the last_used_slot logic up one level to __gfn_to_memslot. This is in preparation for introducing a per-vCPU last_used_slot. As part of this change convert existing callers of search_memslots to __gfn_to_memslot to avoid making any functional changes. Signed-off-by: David Matlack <dmatlack@google.com> Message-Id: <20210804222844.1419481-3-dmatlack@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions