projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33199b0
)
sched/topology: Mark SD_OVERLAP as SDF_NEEDS_GROUPS
author
Valentin Schneider
<valentin.schneider@arm.com>
Mon, 17 Aug 2020 11:30:01 +0000
(12:30 +0100)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 19 Aug 2020 08:49:50 +0000
(10:49 +0200)
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
include/linux/sched/sd_flags.h
patch
|
blob
|
history
diff --git
a/include/linux/sched/sd_flags.h
b/include/linux/sched/sd_flags.h
index
2998ece
..
29af5f0
100644
(file)
--- 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