diff options
author | Valentin Schneider <[email protected]> | 2021-08-18 13:13:33 +0530 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2021-08-20 12:32:57 +0200 |
commit | 0083242c93759dde353a963a90cb351c5c283379 (patch) | |
tree | 04bca15e37cee34811bc8b7e871cc2dbf083f223 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 746f5ea9c4283d98353c1cd41864aec475e0edbd (diff) |
sched/topology: Skip updating masks for non-online nodes
The scheduler currently expects NUMA node distances to be stable from
init onwards, and as a consequence builds the related data structures
once-and-for-all at init (see sched_init_numa()).
Unfortunately, on some architectures node distance is unreliable for
offline nodes and may very well change upon onlining.
Skip over offline nodes during sched_init_numa(). Track nodes that have
been onlined at least once, and trigger a build of a node's NUMA masks
when it is first onlined post-init.
Reported-by: Geetika Moolchandani <[email protected]>
Signed-off-by: Srikar Dronamraju <[email protected]>
Signed-off-by: Valentin Schneider <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions