Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH RFC 0/3] Expose writable interface for preferred CPUs
@ 2026-11-17  2:25 Yury Norov
  2026-11-17  2:25 ` [PATCH RFC 1/3] cpu: add sysfs control for preferred CPUS Yury Norov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yury Norov @ 2026-11-17  2:25 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Thomas Gleixner, Juri Lelli,
	Vincent Guittot, Srinivas Pandruvada, Wei Wang, Shrikanth Hegde
  Cc: Yury Norov, Yury Norov, Rafael J. Wysocki, Alexander Gordeev,
	Andrea Righi, Ben Segall, Christian Borntraeger, Daniel Lezcano,
	Danilo Krummrich, Dietmar Eggemann, Fushuai Wang,
	Greg Kroah-Hartman, Heiko Carstens, Ilya Leoshkevich,
	Johan Hovold, Jonathan Corbet, K Prateek Nayak, Lukasz Luba,
	Maxim Kuvyrkov, Mel Gorman, Mete Durlu, Randy Dunlap,
	Rasmus Villemoes, Shuah Khan, Steven Rostedt, Sven Schnelle,
	Valentin Schneider, Vasily Gorbik, linux-kernel, linux-doc,
	driver-core, linux-pm

On top of tip sched/core + [1].

The preferred CPU mask currently lets the steal governor reduce vCPU
demand when physical CPUs are contended.

This series adds a writable sysfs interface, allowing userspace governors
such as thermald to encourage CPU idling in response to external pressure.

Patches #1 and #2 are partial resends of [2]. Patch #3 adds a thermald
example.

The complete series is available at [3].

[1] https://lore.kernel.org/all/20261113184257.621707-1-ynorov@nvidia.com/
[2] https://lore.kernel.org/all/20261101192203.6979-1-ynorov@nvidia.com/
[3] https://github.com/norov/linux/tree/sysfs-preferred-cpumask

Request feedback on preferred CPUs as a thermal-control mechanism and its
relationship to existing cooling methods.

Yury Norov (3):
  cpu: add sysfs control for preferred CPUS
  sched: decouple preferred CPU policies from steal-time accounting
  docs: sched: describe thermal control with preferred CPUs

 .../ABI/testing/sysfs-devices-system-cpu      | 14 ++-
 .../sysfs-devices-system-cpu-preferred        | 42 +++++++++
 Documentation/scheduler/index.rst             |  1 +
 .../scheduler/preferred-cpu-thermal.rst       | 94 +++++++++++++++++++
 Documentation/scheduler/sched-paravirt.rst    | 20 +++-
 drivers/base/cpu.c                            | 76 +++++++++++++++
 kernel/Kconfig.preempt                        | 18 +++-
 7 files changed, 251 insertions(+), 14 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-devices-system-cpu-preferred
 create mode 100644 Documentation/scheduler/preferred-cpu-thermal.rst

-- 
2.53.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-17  2:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-17  2:25 [PATCH RFC 0/3] Expose writable interface for preferred CPUs Yury Norov
2026-11-17  2:25 ` [PATCH RFC 1/3] cpu: add sysfs control for preferred CPUS Yury Norov
2026-11-17  2:25 ` [PATCH RFC 2/3] sched: decouple preferred CPU policies from steal-time accounting Yury Norov
2026-11-17  2:25 ` [PATCH RFC 3/3] docs: sched: describe thermal control with preferred CPUs Yury Norov

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