aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/perf_test_util.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2021-06-22 20:05:21 +0000
committerPaolo Bonzini <[email protected]>2021-06-24 15:47:42 +0000
commita75a895e6457784fdf2a0a20a024ae29ff8a7f28 (patch)
treeff91201bed069435521595bd6f81ae888d87b558 /tools/testing/selftests/kvm/lib/perf_test_util.c
parentKVM: selftests: Use "standard" min virtual address for CPUID test alloc (diff)
downloadkernel-a75a895e6457784fdf2a0a20a024ae29ff8a7f28.tar.gz
kernel-a75a895e6457784fdf2a0a20a024ae29ff8a7f28.zip
KVM: selftests: Unconditionally use memslot 0 for vaddr allocations
Drop the memslot param(s) from vm_vaddr_alloc() now that all callers directly specific '0' as the memslot. Drop the memslot param from virt_pgd_alloc() as well since vm_vaddr_alloc() is its only user. I.e. shove the hardcoded '0' down to the vm_phy_pages_alloc() calls. No functional change intended. Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/perf_test_util.c')
0 files changed, 0 insertions, 0 deletions