sched/core: Remove obsolete comment about SCHED_DEBUG
PATCH 1/1 sched/core: Remove obsolete comment about SCHED_DEBUG
Now that SCHED_DEBUG is always implicitly enabled, the comment about having multiple sysctl_sched_features in each compilation unit is no longer accurate and it can be misleading, so drop it for clarity.
Fixes dd5bdaf2b72da ("sched/debug: Make CONFIG_SCHED_DEBUG functionality unconditional")
Signed-off-by Andrea Righi <[email protected]>
--- kernel/sched/core.c | 4 ---- 1 file changed, 4 deletions(-)
kernel/sched/core.c +0 -4
@@ -120,10 +120,6 @@ DEFINE_PER_CPU_SHARED_ALIGNED(struct rq, runqueues);/* * Debugging: various feature bits -* -* If SCHED_DEBUG is disabled, each compilation unit has its own copy of -* sysctl_sched_features, defined in sched.h, to allow constants propagation -* at compile time and compiler optimization based on features default. */ #define SCHED_FEAT (name, enabled) \ (1UL << __SCHED_FEAT_##name) * enabled |
Signature · 1 line
2.49.0