lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
[an error occurred while processing this directive]
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <lv4j25eogwjct5bzy76doh2thucpnqcqlpblbw3etmdrlc5rfq@3svjujqwisii>
Date: Mon, 19 Jan 2026 07:41:20 -0500
From: Aaron Tomlin <atomlin@...mlin.com>
To: Borislav Petkov <bp@...en8.de>
Cc: corbet@....net, anna-maria@...utronix.de, frederic@...nel.org, 
	tglx@...nel.org, mingo@...hat.com, dave.hansen@...ux.intel.com, x86@...nel.org, 
	hpa@...or.com, akpm@...ux-foundation.org, pawan.kumar.gupta@...ux.intel.com, 
	feng.tang@...ux.alibaba.com, kees@...nel.org, elver@...gle.com, arnd@...db.de, 
	fvdl@...gle.com, lirongqing@...du.com, bhelgaas@...gle.com, peterz@...radead.org, 
	brgerst@...il.com, kai.huang@...el.com, benjamin.berg@...el.com, 
	andrew.cooper3@...rix.com, oleg@...hat.com, neelx@...e.com, sean@...e.io, mproche@...il.com, 
	chjohnst@...il.com, linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86/idle: Mark "idle=poll" as deprecated

On Mon, Jan 19, 2026 at 11:21:16AM +0100, Borislav Petkov wrote:
> On Sun, Jan 18, 2026 at 06:10:09PM -0500, Aaron Tomlin wrote:
> > The "idle=poll" boot parameter is a blunt instrument that forces all
> > CPUs in the system into a continuous "polling" state. While effective
> > at eliminating wake-up latency, this global override is architecturally
> > obsolete and inefficient on modern multicore systems.
> 
> Nope.
> 
> It is still very useful when you want to stop the machine from entering sleep
> states.
> 
> > By writing special value "n/a" to the per-CPU sysfs node
> > /sys/devices/system/cpu/cpuN/power/pm_qos_resume_latency_us, userspace
> > can force a specific CPU to poll without imposing this cost globally.
> 
> You can't do that on the kernel command line and thus prevent entering sleep
> states from the get-go.

Hi Boris,

Thank you for your feedback.

Understood.

I will investigate the possibility of implementing a boot-time parameter
for the PM QoS subsystem to bridge this gap. This would provide the same
immediate enforcement as "idle=poll" while retaining the runtime
flexibility of the QoS framework.


Kind rgards,
-- 
Aaron Tomlin

Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ