mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
sched/topology: Mark SD_NUMA as SDF_NEEDS_GROUPS
There would be no point in preserving a sched_domain with a single group just because it has this flag set. Add it to SD_DEGENERATE_GROUPS_MASK. Signed-off-by: Valentin Schneider <valentin.schneider@arm.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: https://lore.kernel.org/r/20200817113003.20802-17-valentin.schneider@arm.com
This commit is contained in:
parent
3551e954f5
commit
5f4a1c4ea4
1 changed files with 2 additions and 1 deletions
|
@ -151,5 +151,6 @@ SD_FLAG(SD_OVERLAP, SDF_SHARED_PARENT | SDF_NEEDS_GROUPS)
|
||||||
* Cross-node balancing
|
* Cross-node balancing
|
||||||
*
|
*
|
||||||
* SHARED_PARENT: Set for all NUMA levels above NODE.
|
* SHARED_PARENT: Set for all NUMA levels above NODE.
|
||||||
|
* NEEDS_GROUPS: No point in preserving domain if it has a single group.
|
||||||
*/
|
*/
|
||||||
SD_FLAG(SD_NUMA, SDF_SHARED_PARENT)
|
SD_FLAG(SD_NUMA, SDF_SHARED_PARENT | SDF_NEEDS_GROUPS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue