Home
last modified time | relevance | path

Searched hist:"0083242 c93759dde353a963a90cb351c5c283379" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/sched/
H A Dtopology.cdiff 0083242c93759dde353a963a90cb351c5c283379 Wed Aug 18 02:43:33 CDT 2021 Valentin Schneider <valentin.schneider@arm.com> 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 <Geetika.Moolchandani1@ibm.com>
Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210818074333.48645-1-srikar@linux.vnet.ibm.com