Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+7 -9
+1 -1
Documentation/scheduler/sched-debug.rst
··· 2 2 Scheduler debugfs 3 3 ================= 4 4 5 - Booting a kernel with CONFIG_SCHED_DEBUG=y will give access to 5 + Booting a kernel with debugfs enabled will give access to 6 6 scheduler specific debug files under /sys/kernel/debug/sched. Some of 7 7 those files are described below. 8 8
+1 -1
Documentation/scheduler/sched-design-CFS.rst
··· 96 96 CFS uses nanosecond granularity accounting and does not rely on any jiffies or 97 97 other HZ detail. Thus the CFS scheduler has no notion of "timeslices" in the 98 98 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: 100 100 101 101 /sys/kernel/debug/sched/base_slice_ns 102 102
+2 -3
Documentation/scheduler/sched-domains.rst
··· 73 73 for a given topology level by creating a sched_domain_topology_level array and 74 74 calling set_sched_topology() with this array as the parameter. 75 75 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 79 78 /sys/kernel/debug/sched/verbose knob. This enables an error checking parse of 80 79 the sched domains which should catch most possible errors (described above). It 81 80 also prints out the domain structure in a visual format.
+1 -2
Documentation/scheduler/sched-ext.rst
··· 107 107 nr_rejected : 0 108 108 enable_seq : 1 109 109 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: 112 111 113 112 .. code-block:: none 114 113
+1 -1
Documentation/scheduler/sched-stats.rst
··· 88 88 CONFIG_SMP is not defined, *no* domains are utilized and these lines 89 89 will not appear in the output. <name> is an extension to the domain field 90 90 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. 92 92 93 93 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 94 94
+1 -1
Documentation/translations/sp_SP/scheduler/sched-design-CFS.rst
··· 112 112 jiffy o detalles como HZ. De este modo, el gestor de tareas CFS no tiene 113 113 noción de "ventanas de tiempo" de la forma en que tenía el gestor de 114 114 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: 116 116 117 117 /sys/kernel/debug/sched/base_slice_ns 118 118