Re: [PATCH v3 01/18] selftests/mm: raise the khugepaged test-case cap
From: Mike Rapoport
Date: Thu Aug 13 2026 - 11:08:33 EST
On Wed, 12 Aug 2026 14:22:47 +0100, Kiryl Shutsemau <kirill@xxxxxxxxxxxxx> wrote:
> 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.
>
> [...]
Reviewed-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>
--
Sincerely yours,
Mike.