RFC Expose writable interface for preferred CPUs
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | cpu: add sysfs control for preferred CPUSDocumentation/ Documentation/ Documentation/ +2 more | +151 | 0 replies | |
| 2/3 | sched: decouple preferred CPU policies from steal-time accountingDocumentation/ kernel/ | +5 | 0 replies | |
| 3/3 | docs: sched: describe thermal control with preferred CPUsDocumentation/ Documentation/ | +95 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH RFC 0/3] Expose writable interface for preferred CPUs
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/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/
[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
Signature · 1 line
2.53.0