[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250324115702.GE14944@noisy.programming.kicks-ass.net>
Date: Mon, 24 Mar 2025 12:57:02 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: linux-kernel@...r.kernel.org
Cc: linux-tip-commits@...r.kernel.org, Ingo Molnar <mingo@...nel.org>,
Shrikanth Hegde <sshegde@...ux.ibm.com>,
Juri Lelli <juri.lelli@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Steven Rostedt <rostedt@...dmis.org>,
Ben Segall <bsegall@...gle.com>, Mel Gorman <mgorman@...e.de>,
Valentin Schneider <vschneid@...hat.com>,
Linus Torvalds <torvalds@...ux-foundation.org>, x86@...nel.org
Subject: Re: [tip: sched/core] sched/debug: Remove CONFIG_SCHED_DEBUG
On Thu, Mar 20, 2025 at 08:59:56AM -0000, tip-bot2 for Ingo Molnar wrote:
> The following commit has been merged into the sched/core branch of tip:
>
> Commit-ID: b52173065e0aad82a31863bb5f63ebe46f7eb657
> Gitweb: https://git.kernel.org/tip/b52173065e0aad82a31863bb5f63ebe46f7eb657
> Author: Ingo Molnar <mingo@...nel.org>
> AuthorDate: Mon, 17 Mar 2025 11:42:56 +01:00
> Committer: Ingo Molnar <mingo@...nel.org>
> CommitterDate: Wed, 19 Mar 2025 22:23:24 +01:00
>
> sched/debug: Remove CONFIG_SCHED_DEBUG
>
> For more than a decade, CONFIG_SCHED_DEBUG=y has been enabled
> in all the major Linux distributions:
>
> /boot/config-6.11.0-19-generic:CONFIG_SCHED_DEBUG=y
>
> The reason is that while originally CONFIG_SCHED_DEBUG started
> out as a debugging feature, over the years (decades ...) it has
> grown various bits of statistics, instrumentation and
> control knobs that are useful for sysadmin and general software
> development purposes as well.
>
> But within the kernel we still pretend that there's a choice,
> and sometimes code that is seemingly 'debug only' creates overhead
> that should be optimized in reality.
>
> So make it all official and make CONFIG_SCHED_DEBUG unconditional.
>
> Now that all uses of CONFIG_SCHED_DEBUG are removed from
> the code by previous patches, remove the Kconfig option as well.
I really don't much like this :-(
Powered by blists - more mailing lists