mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sched/core: Remove obsolete comment about SCHED_DEBUG
@ 2025-04-18  8:11 Andrea Righi
  0 siblings, 0 replies; only message in thread
From: Andrea Righi @ 2025-04-18  8:11 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra, Juri Lelli, Vincent Guittot
  Cc: Dietmar Eggemann, Steven Rostedt, Ben Segall, Mel Gorman,
	Valentin Schneider, linux-kernel

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 <arighi@nvidia.com>
---
 kernel/sched/core.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index c81cf642dba05..51370ab9fe7e4 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -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 |
-- 
2.49.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-04-18  8:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-18  8:11 [PATCH] sched/core: Remove obsolete comment about SCHED_DEBUG Andrea Righi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®