summaryrefslogtreecommitdiff
path: root/init/main.c
diff options
context:
space:
mode:
authorRik van Riel <riel@redhat.com>2015-04-24 15:24:28 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-20 00:15:09 -0700
commit6570a9a1ce3a1dd227a065fd8ad16778d827b753 (patch)
treec3bcd277013cdc2af71a136d0409023ca4b88118 /init/main.c
parent59f30abe94bff50636c8cad45207a01fdcb2ee49 (diff)
downloadlinux-rt-6570a9a1ce3a1dd227a065fd8ad16778d827b753.tar.gz
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: Rik van Riel <riel@redhat.com> Acked-by: Mike Galbraith <umgwanakikbuti@gmail.com> Acked-by: Chris Metcalf <cmetcalf@ezchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions