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

From: David Hildenbrand (Arm)

Date: Fri Oct 02 2026 - 15:30:19 EST


On 9/18/26 03:45, 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.

Same thought as for the previous commit: it would be fine for now for the
architecture to simply say "not supported" without CONFIG_TRANSPARENT_HUGEPAGE,
right?

--
Cheers,

David