Re: [PATCH v2 2/2] mm/page_alloc: refactor build_node_zonelist() out of build_zonelists()

From: Gregory Price

Date: Mon Sep 21 2026 - 21:03:32 EST


On Mon, Sep 21, 2026 at 07:58:38PM -0400, Zi Yan wrote:
> On 21 Sep 2026, at 12:38, Gregory Price wrote:
>
> One more question. What prevents one adding
> build_node_zonelists(pgdat, &node_states[N_MEMORY], ZONELIST_FALLBACK)?
> Based on your above mapping, each of ZONELIST_* has its own candidate.
>

Other than build_zonelist and build_node_zonelist being static functions
only reachable by page_alloc.c?

Nothing presently. It could possibly be asserted.

~Gregory