aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/cpumask.c
diff options
context:
space:
mode:
authorValentin Schneider <vschneid@redhat.com>2023-01-20 20:24:34 -0800
committerJakub Kicinski <kuba@kernel.org>2023-02-07 18:20:00 -0800
commit06ac01721f7d07da722abe0ec6f147b90bfc8c77 (patch)
treeecbc16bf5d55d37ae244ef36f194ffaf4b283ef4 /lib/cpumask.c
parentsched/topology: Introduce sched_numa_hop_mask() (diff)
downloadwireguard-linux-06ac01721f7d07da722abe0ec6f147b90bfc8c77.tar.xz
wireguard-linux-06ac01721f7d07da722abe0ec6f147b90bfc8c77.zip
sched/topology: Introduce for_each_numa_hop_mask()
The recently introduced sched_numa_hop_mask() exposes cpumasks of CPUs reachable within a given distance budget, wrap the logic for iterating over all (distance, mask) values inside an iterator macro. Signed-off-by: Valentin Schneider <vschneid@redhat.com> Reviewed-by: Yury Norov <yury.norov@gmail.com> Signed-off-by: Yury Norov <yury.norov@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/cpumask.c')
0 files changed, 0 insertions, 0 deletions