diff options
author | Valentin Schneider <valentin.schneider@arm.com> | 2020-08-17 13:30:01 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-08-19 10:49:50 +0200 |
commit | 3551e954f5d95faf3dbc340d422da7624658c230 (patch) | |
tree | 4291b5f702d349e9bd63d6fd4dafb1db9a3f4434 | |
parent | sched/topology: Mark SD_ASYM_PACKING as SDF_NEEDS_GROUPS (diff) | |
download | linux-3551e954f5d95faf3dbc340d422da7624658c230.tar.xz linux-3551e954f5d95faf3dbc340d422da7624658c230.zip |
sched/topology: Mark SD_OVERLAP as SDF_NEEDS_GROUPS
A sched_domain can only have overlapping sched_groups if it has more than
one group.
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-16-valentin.schneider@arm.com
-rw-r--r-- | include/linux/sched/sd_flags.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sched/sd_flags.h b/include/linux/sched/sd_flags.h index 2998ece2c18d..29af5f032861 100644 --- a/include/linux/sched/sd_flags.h +++ b/include/linux/sched/sd_flags.h @@ -143,8 +143,9 @@ SD_FLAG(SD_PREFER_SIBLING, SDF_NEEDS_GROUPS) * sched_groups of this level overlap * * SHARED_PARENT: Set for all NUMA levels above NODE. + * NEEDS_GROUPS: Overlaps can only exist with more than one group. */ -SD_FLAG(SD_OVERLAP, SDF_SHARED_PARENT) +SD_FLAG(SD_OVERLAP, SDF_SHARED_PARENT | SDF_NEEDS_GROUPS) /* * Cross-node balancing |