Skip to content
Commit 6570a9a1 authored by Rik van Riel's avatar Rik van Riel Committed by Greg Kroah-Hartman
Browse files

show nohz_full cpus in sysfs



Currently there is no way to query which CPUs are in nohz_full
mode from userspace.

Export the CPU list running in nohz_full mode in sysfs,
specifically in the file /sys/devices/system/cpu/nohz_full

This can be used by system management tools like libvirt,
openstack, and others to ensure proper task placement.

Signed-off-by: default avatarRik van Riel <riel@redhat.com>
Acked-by: default avatarMike Galbraith <umgwanakikbuti@gmail.com>
Acked-by: default avatarChris Metcalf <cmetcalf@ezchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 59f30abe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment