summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRik van Riel <riel@redhat.com>2015-04-24 15:24:27 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-20 00:15:06 -0700
commit59f30abe94bff50636c8cad45207a01fdcb2ee49 (patch)
treede7d08069d48a1a0e7284530de7be26539c1dcdd /lib
parente26081808edadfd257c6c9d81014e3b25e9a6118 (diff)
show isolated cpus in sysfs
After system bootup, there is no totally reliable way to see which CPUs are isolated, because the kernel may modify the CPUs specified on the isolcpus= kernel command line option. Export the CPU list that actually got isolated in sysfs, specifically in the file /sys/devices/system/cpu/isolated This can be used by system management tools like libvirt, openstack, and others to ensure proper placement of tasks. Suggested-by: Li Zefan <lizefan@huawei.com> 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 'lib')
0 files changed, 0 insertions, 0 deletions