Re: [PATCH] selftests/mm: skip collapse_compound_extreme() on THP allocation failure
From: Kiryl Shutsemau
Date: Wed Oct 28 2026 - 08:56:51 EST
On Wed, Oct 28, 2026 at 06:01:19PM +0800, Zenghui Yu wrote:
> From: "Zenghui Yu (Huawei)" <zenghui.yu@xxxxxxxxx>
>
> collapse_compound_extreme() needs hpage_pmd_nr PMD-order allocations in a
> row, and it kills the whole test binary via ksft_exit_fail_msg() as soon as
> one of them fails.
>
> Gating the case by PMD size (commit b36bec6a01b1) -- the current workaround
Nit: checkpatch wants the full form:
commit b36bec6a01b1 ("selftests/mm: skip collapse_compound_extreme() where the PMD is too large")
Otherwise looks good. Thanks for chasing it.
Reviewed-by: Kiryl Shutsemau (Meta) <kas@xxxxxxxxxx>
--
Kiryl Shutsemau / Kirill A. Shutemov