Linux driver-core infrastructure
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] tick/nohz: Add runtime control of non-idle tick suppression
@ 2026-10-15 12:43 Peng Wang
  2026-10-15 12:43 ` [RFC PATCH 1/2] tick/nohz: Add a policy dependency for full dynticks Peng Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Peng Wang @ 2026-10-15 12:43 UTC (permalink / raw)
  To: Anna-Maria Behnsen, Frederic Weisbecker, Ingo Molnar,
	Thomas Gleixner
  Cc: Peng Wang, Greg Kroah-Hartman, Rafael J . Wysocki,
	Danilo Krummrich, Steven Rostedt, Masami Hiramatsu,
	Mathieu Desnoyers, Peter Zijlstra, Waiman Long, Tejun Heo,
	He Rongguang, linux-kernel, linux-api, driver-core,
	linux-trace-kernel, cgroups

Workloads and their need for periodic ticks can change after boot.
This series lets userspace choose at runtime which CPUs in the boot-time
nohz_full set retain the non-idle scheduler tick and which are permitted
to stop it, while preserving the existing isolation configuration.

The first patch adds a per-CPU tick dependency; the second exposes a
sysfs CPU list. Permission defaults to all nohz_full CPUs. Revocation
uses the existing asynchronous kick. Idle tick suppression is unchanged,
and policy persists across hotplug.

Existing cpuset partition modes do not express this independent tick
policy. Feedback on the proposed interface is welcome.

Thanks,
Peng

Peng Wang (2):
  tick/nohz: Add a policy dependency for full dynticks
  cpu: Add sysfs control of full dynticks policy

 .../ABI/testing/sysfs-devices-system-cpu      | 40 ++++++++++++
 drivers/base/cpu.c                            | 46 ++++++++++++++
 include/linux/tick.h                          |  8 ++-
 include/trace/events/timer.h                  |  3 +-
 kernel/time/tick-sched.c                      | 62 +++++++++++++++++++
 5 files changed, 156 insertions(+), 3 deletions(-)


base-commit: 0fcb05b72344f40806cbe810de8872f1698bf053

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

end of thread, other threads:[~2026-10-15 16:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-15 12:43 [RFC PATCH 0/2] tick/nohz: Add runtime control of non-idle tick suppression Peng Wang
2026-10-15 12:43 ` [RFC PATCH 1/2] tick/nohz: Add a policy dependency for full dynticks Peng Wang
2026-10-15 12:43 ` [RFC PATCH 2/2] cpu: Add sysfs control of full dynticks policy Peng Wang
2026-10-15 16:07   ` Waiman Long
2026-10-15 16:00 ` [RFC PATCH 0/2] tick/nohz: Add runtime control of non-idle tick suppression Waiman Long

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