Linux s390 Architecture development
 help / color / mirror / Atom feed
* [PATCH 0/7]  Harden preferred CPUs management
@ 2026-11-13 18:42 Yury Norov
  2026-11-13 18:42 ` [PATCH 1/7] cpumask: add reset_preferred_cpumask() helper Yury Norov
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Yury Norov @ 2026-11-13 18:42 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Thomas Gleixner, Juri Lelli,
	Vincent Guittot, Shrikanth Hegde
  Cc: Yury Norov, Yury Norov, Rafael J. Wysocki, Alexander Gordeev,
	Andrea Righi, Ben Segall, Christian Borntraeger, Danilo Krummrich,
	Dietmar Eggemann, Greg Kroah-Hartman, Heiko Carstens,
	Ilya Leoshkevich, Johan Hovold, Jonathan Corbet, K Prateek Nayak,
	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-s390

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/20261101192203.6979-1-ynorov@nvidia.com/

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(-)

-- 
2.53.0


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

end of thread, other threads:[~2026-11-13 19:48 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-13 18:42 [PATCH 0/7] Harden preferred CPUs management Yury Norov
2026-11-13 18:42 ` [PATCH 1/7] cpumask: add reset_preferred_cpumask() helper Yury Norov
2026-11-13 18:55   ` sashiko-bot
2026-11-13 18:42 ` [PATCH 2/7] sched: restore preferred CPUs when hotplug removes the last one Yury Norov
2026-11-13 19:12   ` sashiko-bot
2026-11-13 18:42 ` [PATCH 3/7] virt: steal_governor: remove the minimum elapsed-time check Yury Norov
2026-11-13 18:56   ` sashiko-bot
2026-11-13 18:42 ` [PATCH 4/7] virt: steal_governor: serialize sampling against CPU hotplug Yury Norov
2026-11-13 19:03   ` sashiko-bot
2026-11-13 18:42 ` [PATCH 5/7] virt: steal_governor: warn on unexpected preferred mask states Yury Norov
2026-11-13 19:06   ` sashiko-bot
2026-11-13 18:42 ` [PATCH 6/7] virt: steal_governor: restart sampling immediately after CPU hotplug Yury Norov
2026-11-13 19:21   ` sashiko-bot
2026-11-13 18:42 ` [PATCH 7/7] cpu: make preferred CPU policy writers mutually exclusive Yury Norov
2026-11-13 19:25   ` sashiko-bot

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