Article View: linux.kernel
Article #49Re: [PATCH v1 02/10] kconfig-checker: Introduce PREEMPT_RT configuration rules
From: Emanuele Rocca
Date: Tue, 17 Nov 2026 12:20
Date: Tue, 17 Nov 2026 12:20
34 lines
3662 bytes
3662 bytes
Hi Ahmed, thanks for this useful tool! On 2026-11-06 10:19, Ahmed S. Darwish wrote: > + - name: CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE > + expected: y > + severity: high > + docs_hint: config The docs mention the following for CPU_FREQ_DEFAULT_GOV_PERFORMANCE: | This is not an absolute rule. Some setups might prefer to clock the | CPU to lower speeds due to thermal packaging or other requirements. The | key is that the CPU frequency remains constant once set. Yet having the rule "severity: high" will presumably make kconfig-checker require CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y in order for validation to pass? > + - name_pattern: CONFIG_CPU_FREQ_GOV_(CONSERVATIVE|ONDEMAND|POWERSAVE|USERSPACE) > + expected: n > + severity: medium > + docs_hint: non-performance-cpu-frequency-governors Similarly, by reading your docs, it seems to me that the worst choice for RT workloads is ONDEMAND. | The ONDEMAND governor should not be enabled on a real-time system. Its | frequency changes depend on workload behavior and can significantly harm | determinism. Shouldn't the severity for the CPU_FREQ_GOV_ONDEMAND rule be higher, then?
Technical Details
Message-ID:
<O0qkh-cs8i-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NWoK5-aaez-7@gated-at.bofh.it> <NWoK6-aaez-23@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Emanuele Rocca <ema@debian.org> Newsgroups: linux.debian.kernel,linux.kernel Subject: Re: [PATCH v1 02/10] kconfig-checker: Introduce PREEMPT_RT configuration rules Date: Tue, 17 Nov 2026 13:20:01 +0100 Message-ID: <O0qkh-cs8i-1@gated-at.bofh.it> References: <NWoK5-aaez-7@gated-at.bofh.it> <NWoK6-aaez-23@gated-at.bofh.it> X-Original-To: "Ahmed S. Darwish" <darwi@linutronix.de> X-Mailbox-Line: From debian-kernel-request@lists.debian.org Tue Nov 17 12:15:26 2026 Old-Return-Path: <ema@debian.org> X-Amavis-Spam-Status: No, score=-4.401 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-User: ema X-Mailing-List: <debian-kernel@lists.debian.org> archive/latest/158419 List-ID: <debian-kernel.lists.debian.org> List-URL: <https://lists.debian.org/debian-kernel/> List-Archive: https://lists.debian.org/msgid-search/avxFRmhBrlKLtQ97@ariel.home Approved: robomod@news.nic.it Lines: 34 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Clark Williams <clrkwllms@kernel.org>, Steven Rostedt <rostedt@goodmis.org>, Ingo Molnar <mingo@redhat.com>, Nathan Chancellor <nathan@kernel.org>, Nicolas Schier <nsc@kernel.org>, Sebastian Andrzej Siewior <bigeasy@linutronix.de>, Frederic Weisbecker <frederic@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jonathan Corbet <corbet@lwn.net>, John Ogness <john.ogness@linutronix.de>, Derek Barbosa <debarbos@redhat.com>, Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>, Daan De Meyer <daan.j.demeyer@gmail.com>, Luca Boccassi <luca.boccassi@gmail.com>, linux-rt-devel@lists.linux.dev, debian-kernel@lists.debian.org, linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org X-Original-Date: Tue, 17 Nov 2026 13:15:02 +0100 X-Original-Message-ID: <avxFRmhBrlKLtQ97@ariel.home> X-Original-References: <20261106091922.7560-1-darwi@linutronix.de> <20261106091922.7560-3-darwi@linutronix.de>