]> git.ipfire.org Git - thirdparty/linux.git/commit
tick/nohz: Expose housekeeping CPUs in sysfs
authorAaron Tomlin <atomlin@atomlin.com>
Sat, 11 Oct 2025 01:28:53 +0000 (21:28 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2025 14:20:51 +0000 (15:20 +0100)
commitcd22926af45400093738c758b6749de8035ed5a8
tree12edfbf74edaf0886e7e14ffc39f6568a1c9aece
parentf10c23fa159c5481dfe0025e619dc5ef844f6ce1
tick/nohz: Expose housekeeping CPUs in sysfs

Expose the current system-defined list of housekeeping CPUs in a new
sysfs file: /sys/devices/system/cpu/housekeeping.

This provides userspace performance tuning tools and resource managers
with a canonical, reliable method to accurately identify the cores
responsible for essential kernel maintenance workloads (RCU, timer
callbacks, and unbound workqueues). Currently, tooling must manually
calculate the housekeeping set by parsing complex kernel boot parameters
(like isolcpus= and nohz_full=) and system topology, which is prone to
error. This dedicated file simplifies the configuration of low-latency
workloads.

Signed-off-by: Aaron Tomlin <atomlin@atomlin.com>
Link: https://patch.msgid.link/20251011012853.7539-2-atomlin@atomlin.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-devices-system-cpu
drivers/base/cpu.c