Re: [PATCH 2/6] sched/topology: Introduce for_each_numa_node() iterator

From: Tejun Heo
Date: Fri Feb 07 2025 - 16:56:43 EST


On Fri, Feb 07, 2025 at 10:55:18PM +0100, Andrea Righi wrote:
> How about for_each_node_state_by_dist()? It's essentialy a variant of
> for_each_node_state(), as it also accepts a state, with the only difference
> that node IDs are returned in increasing distance order.

Sounds fine by me. Yury?

Thanks.

--
tejun