Skip to content

Commit 949bcb8

Browse files
Valentin SchneiderIngo Molnar
authored andcommitted
sched/doc: Factorize bits between sched-energy.rst & sched-capacity.rst
Documentation/scheduler/sched-capacity.rst ought to be the canonical place to blabber about SD_ASYM_CPUCAPACITY, so remove its explanation from sched-energy.rst and point to sched-capacity.rst instead. Signed-off-by: Valentin Schneider <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 65065fd commit 949bcb8

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

Documentation/scheduler/sched-energy.rst

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -331,16 +331,8 @@ asymmetric CPU topologies for now. This requirement is checked at run-time by
331331
looking for the presence of the SD_ASYM_CPUCAPACITY flag when the scheduling
332332
domains are built.
333333

334-
The flag is set/cleared automatically by the scheduler topology code whenever
335-
there are CPUs with different capacities in a root domain. The capacities of
336-
CPUs are provided by arch-specific code through the arch_scale_cpu_capacity()
337-
callback. As an example, arm and arm64 share an implementation of this callback
338-
which uses a combination of CPUFreq data and device-tree bindings to compute the
339-
capacity of CPUs (see drivers/base/arch_topology.c for more details).
340-
341-
So, in order to use EAS on your platform your architecture must implement the
342-
arch_scale_cpu_capacity() callback, and some of the CPUs must have a lower
343-
capacity than others.
334+
See Documentation/sched/sched-capacity.rst for requirements to be met for this
335+
flag to be set in the sched_domain hierarchy.
344336

345337
Please note that EAS is not fundamentally incompatible with SMP, but no
346338
significant savings on SMP platforms have been observed yet. This restriction

0 commit comments

Comments
 (0)