Thread (45 messages) flat view 45 messages, 8 authors, 6d ago

Re: [PATCH v2 08/20] KVM: selftests: Use the innermost page allocator API in the memslot perf test

From: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Date: 2026-09-10 11:03:34
Also in: kvm, kvm-riscv, kvmarm, linux-riscv, lkml, loongarch

Sean Christopherson [off-list ref] writes:
Use the quad-underscores physical page allocator API in the memslot perf
test in anticipation of converting the outer versions to take the memory
region type instead of the raw memslot.  Stating the obvious, the memslot
perf test creates and allocates from multiple memslots, and so can't use
MEM_REGION_TEST_DATA to communicate which region/slot to allocate from.

No functional change intended.
yup. Indeed the later APIs will drop the memslot argument from the
main/outer page allocator APIs, so we need to use the
____vm_phy_pages_alloc() variant here. The change looks good to me.

Please feel free to add:
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help