Re: [PATCH v2 15/22] mm/page_alloc: remove ifdefs from pindex helpers

From: Vlastimil Babka (SUSE)

Date: Mon May 11 2026 - 14:33:59 EST


On 3/20/26 19:23, Brendan Jackman wrote:
> The ifdefs are not technically needed here, everything used here is
> always defined.
>
> They aren't doing much harm right now but a following patch will
> complicate these functions. Switching to IS_ENABLED() makes the code a
> bit less tiresome to read.
>
> Signed-off-by: Brendan Jackman <jackmanb@xxxxxxxxxx>

Reviewed-by: Vlastimil Babka (SUSE) <vbabka@xxxxxxxxxx>

Also good for prep series?