Re: [PATCH v3 22/26] mm: Minimal KUnit tests for some new page_alloc logic

From: Vlastimil Babka (SUSE)

Date: Mon Aug 03 2026 - 05:30:46 EST


On 7/27/26 00:22, Brendan Jackman wrote:
> Add a simple smoke test for ALLOC_UNMAPPED that tries to exercise
> flipping pageblocks between mapped/unmapped state.
>
> Also add some basic tests for some freelist-indexing helpers.
>
> Simplest way to run these on x86:
>
> tools/testing/kunit/kunit.py run --arch=x86_64 "page_alloc.*" \
> --kconfig_add CONFIG_MERMAP=y --kconfig_add CONFIG_PAGE_ALLOC_UNMAPPED=y
>
> Signed-off-by: Brendan Jackman <jackmanb@xxxxxxxxxx>

Acked-by: Vlastimil Babka (SUSE) <vbabka@xxxxxxxxxx>