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

From: Luiz Capitulino

Date: Mon Jul 27 2026 - 13:33:06 EST


On 2026-07-27 13:14, David Hildenbrand (Arm) wrote:
On 7/27/26 19:06, Luiz Capitulino wrote:
On 2026-07-27 11:41, Alexander Gordeev wrote:
On Thu, Jul 23, 2026 at 09:34:12PM -0400, Luiz Capitulino wrote:
has_transparent_hugepage() definition is guarded by
CONFIG_TRANSPARENT_HUGEPAGE, but there's a need to use it when
^^^^^^^^^^^^^^
What need? The commit message needs to be self-sufficient or
at least explain why that it is a pre-requisite.

This series is adding a new API, based on has_transparent_hugepage(), to
check if a CPU supports PMD-sized pages. The new API is orthogonal to
THP and must work when CONFIG_TRANSPARENT_HUGEPAGE=n.

Alexander is asking for that to be incorporated into the patch description :)

Sure, I can do that.