Re: [PATCH v3 01/18] selftests/mm: raise the khugepaged test-case cap

From: Usama Arif

Date: Wed Aug 12 2026 - 11:08:31 EST




On 12/08/2026 14:22, Kiryl Shutsemau wrote:
> From: "Kiryl Shutsemau (Meta)" <kas@xxxxxxxxxx>
>
> TEST() ends the run with "MAX_TEST_CASES is too small" when the table
> fills, and the table holds 64. A full invocation -- every context crossed
> with every memory type, which needs a directory for the file and shmem ones
> -- already registers 63, so the next case added anywhere aborts the whole
> suite before a single test runs.
>
> Raise it to 256. The table is a static array of small structs, so the room
> costs nothing worth counting, and the cases added after this have somewhere
> to go.
>
> Assisted-by: Claude-Code:claude-opus-5
> Signed-off-by: Kiryl Shutsemau (Meta) <kas@xxxxxxxxxx>
Acked-by: Usama Arif <usama.arif@xxxxxxxxx>