Re: [PATCH v3 04/16] mm: Split out internal page_alloc.h

From: Vlastimil Babka (SUSE)

Date: Tue Jun 30 2026 - 09:56:26 EST


On 6/29/26 15:11, Brendan Jackman wrote:
> internal.h is a bit bloated, seems like time for a page_alloc.h.
>
> Where it wasn't obvious, the heuristic for deciding what goes into this
> new header was "does it support/correspond to a definition in
> mm/page_alloc.c?"
>
> Only need to include it from 15 .c files out of 164 so this does seem
> like a genuine reduction in scopes, which is nice. And there's no
> circular internal.h<->page_alloc.h dependency, so it seems worthwhile to
> split this up before that inevitably emerges!
>
> Suggested-by: "David Hildenbrand (Arm)" <david@xxxxxxxxxx>
> Link: https://lore.kernel.org/all/41e92bab-6882-401a-8de9-154adbdcfb36@xxxxxxxxxx/
> Signed-off-by: Brendan Jackman <jackmanb@xxxxxxxxxx>

Cool.

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