[PATCH v2 08/20] KVM: selftests: Use the innermost page allocator API in the memslot perf test
Ritesh Harjani (IBM)
ritesh.list at gmail.com
Thu Sep 10 04:00:42 PDT 2026
Sean Christopherson <seanjc at google.com> 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 at gmail.com>
More information about the linux-arm-kernel
mailing list