summaryrefslogtreecommitdiff
path: root/virt/kvm
diff options
context:
space:
mode:
authorDavid Matlack <dmatlack@google.com>2021-08-05 01:28:39 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2021-08-06 14:52:28 +0300
commit0f22af940dc8ec4f437189096a5f8677995323b0 (patch)
tree2aed49d93f3e57ecf5d5e04bfb73f71e474eaf1b /virt/kvm
parent87689270b10fa9e6fac7242233b355cb6792b845 (diff)
downloadlinux-0f22af940dc8ec4f437189096a5f8677995323b0.tar.xz
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