From: Rik van Riel Date: Fri, 24 Apr 2015 19:24:27 +0000 (-0400) Subject: show isolated cpus in sysfs X-Git-Tag: omap-for-v4.2/fixes-rc1^2~93^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59f30abe94bff50636c8cad45207a01fdcb2ee49;p=pandora-kernel.git 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 Signed-off-by: Rik van Riel Acked-by: Mike Galbraith Acked-by: Chris Metcalf Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed