Skip to content
Commit 06ac0172 authored by Valentin Schneider's avatar Valentin Schneider Committed by Jakub Kicinski
Browse files

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: default avatarValentin Schneider <vschneid@redhat.com>
Reviewed-by: default avatarYury Norov <yury.norov@gmail.com>
Signed-off-by: default avatarYury Norov <yury.norov@gmail.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 9feae658
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment