Harden preferred CPUs management
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | cpumask: add reset_preferred_cpumask() helperdrivers/ include/ | +18 | 0 replies | |
| 2/7 | sched: restore preferred CPUs when hotplug removes the last onekernel/ | +8 | 1 reply | |
| 3/7 | virt: steal_governor: remove the minimum elapsed-time checkdrivers/ | +0 | 0 replies | |
| 4/7 | virt: steal_governor: serialize sampling against CPU hotplugdrivers/ include/ lib/ | +28 | 1 reply | |
| 5/7 | virt: steal_governor: warn on unexpected preferred mask statesdrivers/ | +6 | 0 replies | |
| 6/7 | virt: steal_governor: restart sampling immediately after CPU hotplugdrivers/ | +34 | 2 replies | |
| 7/7 | cpu: make preferred CPU policy writers mutually exclusiveDocumentation/ drivers/ include/ +1 more | +79 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] Harden preferred CPUs management
On top of tip sched/core.
This series hardens preferred CPU mask management against CPU hotplug and prevents competing governors from overriding each other’s selections.
This is partially a resend of [1], excluding the write access, and partially the new material.
The write access to the preferred cpumask is a subject of the ongoing discussion. I'll submit it as a follow up shortly.
[1] https://lore.kernel.org/all/[email protected]/
Yury Norov (7):
cpumask: add reset_preferred_cpumask() helper
sched: restore preferred CPUs when hotplug removes the last one
virt: steal_governor: remove the minimum elapsed-time check
virt: steal_governor: serialize sampling against CPU hotplug
virt: steal_governor: warn on unexpected preferred mask states
virt: steal_governor: restart sampling immediately after CPU hotplug
cpu: make preferred CPU policy writers mutually exclusive
Documentation/scheduler/sched-paravirt.rst | 2 +- drivers/virt/steal_governor.c | 82 +++++++++++++++------- include/linux/cpumask.h | 30 ++++++++ kernel/sched/core.c | 8 +++ lib/cpumask.c | 67 ++++++++++++++++++ 5 files changed, 164 insertions(+), 25 deletions(-)
Signature · 1 line
2.53.0