Skip to content

Commit 1b68a6a

Browse files
author
Ingo Molnar
committed
sched/debug, Documentation: Remove (most) CONFIG_SCHED_DEBUG references from documentation
Since it's enabled unconditionally now, remove all references to it. (Left out languages I cannot read.) Signed-off-by: Ingo Molnar <mingo@kernel.org> Tested-by: Shrikanth Hegde <sshegde@linux.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Juri Lelli <juri.lelli@redhat.com> Cc: Vincent Guittot <vincent.guittot@linaro.org> Cc: Dietmar Eggemann <dietmar.eggemann@arm.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Ben Segall <bsegall@google.com> Cc: Mel Gorman <mgorman@suse.de> Cc: Valentin Schneider <vschneid@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: https://lore.kernel.org/r/20250317104257.3496611-5-mingo@kernel.org
1 parent dd5bdaf commit 1b68a6a

File tree

6 files changed

+7
-9
lines changed

6 files changed

+7
-9
lines changed

Documentation/scheduler/sched-debug.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Scheduler debugfs
33
=================
44

5-
Booting a kernel with CONFIG_SCHED_DEBUG=y will give access to
5+
Booting a kernel with debugfs enabled will give access to
66
scheduler specific debug files under /sys/kernel/debug/sched. Some of
77
those files are described below.
88

Documentation/scheduler/sched-design-CFS.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ picked and the current task is preempted.
9696
CFS uses nanosecond granularity accounting and does not rely on any jiffies or
9797
other HZ detail. Thus the CFS scheduler has no notion of "timeslices" in the
9898
way the previous scheduler had, and has no heuristics whatsoever. There is
99-
only one central tunable (you have to switch on CONFIG_SCHED_DEBUG):
99+
only one central tunable:
100100

101101
/sys/kernel/debug/sched/base_slice_ns
102102

Documentation/scheduler/sched-domains.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,8 @@ Architectures may override the generic domain builder and the default SD flags
7373
for a given topology level by creating a sched_domain_topology_level array and
7474
calling set_sched_topology() with this array as the parameter.
7575

76-
The sched-domains debugging infrastructure can be enabled by enabling
77-
CONFIG_SCHED_DEBUG and adding 'sched_verbose' to your cmdline. If you
78-
forgot to tweak your cmdline, you can also flip the
76+
The sched-domains debugging infrastructure can be enabled by 'sched_verbose'
77+
to your cmdline. If you forgot to tweak your cmdline, you can also flip the
7978
/sys/kernel/debug/sched/verbose knob. This enables an error checking parse of
8079
the sched domains which should catch most possible errors (described above). It
8180
also prints out the domain structure in a visual format.

Documentation/scheduler/sched-ext.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ detailed information:
107107
nr_rejected : 0
108108
enable_seq : 1
109109
110-
If ``CONFIG_SCHED_DEBUG`` is set, whether a given task is on sched_ext can
111-
be determined as follows:
110+
Whether a given task is on sched_ext can be determined as follows:
112111

113112
.. code-block:: none
114113

Documentation/scheduler/sched-stats.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ One of these is produced per domain for each cpu described. (Note that if
8888
CONFIG_SMP is not defined, *no* domains are utilized and these lines
8989
will not appear in the output. <name> is an extension to the domain field
9090
that prints the name of the corresponding sched domain. It can appear in
91-
schedstat version 17 and above, and requires CONFIG_SCHED_DEBUG.)
91+
schedstat version 17 and above.
9292

9393
domain<N> <name> <cpumask> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
9494

Documentation/translations/sp_SP/scheduler/sched-design-CFS.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ CFS usa una granularidad de nanosegundos y no depende de ningún
112112
jiffy o detalles como HZ. De este modo, el gestor de tareas CFS no tiene
113113
noción de "ventanas de tiempo" de la forma en que tenía el gestor de
114114
tareas previo, y tampoco tiene heurísticos. Únicamente hay un parámetro
115-
central ajustable (se ha de cambiar en CONFIG_SCHED_DEBUG):
115+
central ajustable:
116116

117117
/sys/kernel/debug/sched/base_slice_ns
118118

0 commit comments

Comments
 (0)