Skip to content

Commit adf3c31

Browse files
bea-armPeter Zijlstra
authored andcommitted
sched/doc: Update the CPU capacity asymmetry bits
Update the documentation bits referring to capacity aware scheduling with regards to newly introduced SD_ASYM_CPUCAPACITY_FULL sched_domain flag. Signed-off-by: Beata Michalska <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Valentin Schneider <[email protected]> Reviewed-by: Dietmar Eggemann <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent c744dc4 commit adf3c31

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Documentation/scheduler/sched-capacity.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,10 @@ whether the system exhibits asymmetric CPU capacities. Should that be the
284284
case:
285285

286286
- The sched_asym_cpucapacity static key will be enabled.
287-
- The SD_ASYM_CPUCAPACITY flag will be set at the lowest sched_domain level that
288-
spans all unique CPU capacity values.
287+
- The SD_ASYM_CPUCAPACITY_FULL flag will be set at the lowest sched_domain
288+
level that spans all unique CPU capacity values.
289+
- The SD_ASYM_CPUCAPACITY flag will be set for any sched_domain that spans
290+
CPUs with any range of asymmetry.
289291

290292
The sched_asym_cpucapacity static key is intended to guard sections of code that
291293
cater to asymmetric CPU capacity systems. Do note however that said key is

Documentation/scheduler/sched-energy.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ section lists these dependencies and provides hints as to how they can be met.
328328

329329
As mentioned in the introduction, EAS is only supported on platforms with
330330
asymmetric CPU topologies for now. This requirement is checked at run-time by
331-
looking for the presence of the SD_ASYM_CPUCAPACITY flag when the scheduling
331+
looking for the presence of the SD_ASYM_CPUCAPACITY_FULL flag when the scheduling
332332
domains are built.
333333

334334
See Documentation/scheduler/sched-capacity.rst for requirements to be met for this

0 commit comments

Comments
 (0)