Re: [PATCH v2 0/8] sched/topology: add for_each_numa_cpu() macro
From: Yury Norov <yury.norov@gmail.com>
Date: 2023-05-31 15:44:09
Also in:
linux-rdma, lkml
From: Yury Norov <yury.norov@gmail.com>
Date: 2023-05-31 15:44:09
Also in:
linux-rdma, lkml
On Sun, Apr 30, 2023 at 10:18:01AM -0700, Yury Norov wrote:
for_each_cpu() is widely used in kernel, and it's beneficial to create a NUMA-aware version of the macro. Recently added for_each_numa_hop_mask() works, but switching existing codebase to it is not an easy process. This series adds for_each_numa_cpu(), which is designed to be similar to the for_each_cpu(). It allows to convert existing code to NUMA-aware as simple as adding a hop iterator variable and passing it inside new macro. for_each_numa_cpu() takes care of the rest.
Hi Jakub, Now that the series reviewed, can you consider taking it in sched tree? Thanks, Yury