Re: [PATCH 1/2] mm: refactor find_next_best_node to find_next_best_node_in
From: Gregory Price
Date: Wed Sep 02 2026 - 19:50:54 EST
On Wed, Sep 02, 2026 at 05:58:52PM -0400, Gregory Price wrote:
> find_next_best_node() picks the next-closest node for a fallback list
> from the full N_MEMORY set. Refactor it into find_next_best_node_in(),
> which takes an explicit candidates nodemask.
>
> This enables building fallback lists with non-N_MEMORY candidates.
>
> No functional change: every caller still selects from N_MEMORY.
>
> Signed-off-by: Gregory Price <gourry@xxxxxxxxxx>
Just realized this should carry an Ack from Balbir
Acked-by: Balbir Singh <balbirs@xxxxxxxxxx>
see - https://lore.kernel.org/linux-mm/62bf02dc-dab1-41bf-8204-eb3566628b93@xxxxxxxxxx/