diff options
author | 2024-10-10 11:23:41 -0700 | |
---|---|---|
committer | 2024-10-25 12:59:08 -0400 | |
commit | fa8fe58d1e4d35e58a66dbc2a7c84bc5c0352240 (patch) | |
tree | 68bc82ae4a6eccacbd0668de3bb00a6f01d7ed62 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | KVM: x86/mmu: Put direct prefetched pages via kvm_release_page_clean() (diff) | |
download | wireguard-linux-fa8fe58d1e4d35e58a66dbc2a7c84bc5c0352240.tar.xz wireguard-linux-fa8fe58d1e4d35e58a66dbc2a7c84bc5c0352240.zip |
KVM: x86/mmu: Add common helper to handle prefetching SPTEs
Deduplicate the prefetching code for indirect and direct MMUs. The core
logic is the same, the only difference is that indirect MMUs need to
prefetch SPTEs one-at-a-time, as contiguous guest virtual addresses aren't
guaranteed to yield contiguous guest physical addresses.
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-40-seanjc@google.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions