Re: [PATCH v8 08/14] s390: move has_transparent_hugepage() out of THP guard

From: Zi Yan

Date: Mon Sep 21 2026 - 22:21:21 EST


On Thu Sep 17, 2026 at 9:45 PM EDT, Luiz Capitulino wrote:
> A future commit will introduce a kernel API to allow for checking if the
> CPU supports PMD-sized pages. This API will be based on the
> has_transparent_hugepage() implementation but will be orthogonal to THP
> and therefore must work when CONFIG_TRANSPARENT_HUGEPAGE=n.
>
> Move its definition out of the THP guard.
>
> Signed-off-by: Luiz Capitulino <luizcap@xxxxxxxxxx>
> ---
> arch/s390/include/asm/pgtable.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Acked-by: Zi Yan <ziy@xxxxxxxxxx>



--
Best Regards,
Yan, Zi