Re: [PATCH 1/2] show isolated cpus in sysfs

From: Rik van Riel
Date: Fri Apr 24 2015 - 17:22:58 EST

On 04/24/2015 05:11 PM, Frederic Weisbecker wrote:
> On Fri, Apr 24, 2015 at 03:24:27PM -0400, riel@xxxxxxxxxx wrote:
>> From: Rik van Riel <riel@xxxxxxxxxx>
>> 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@xxxxxxxxxx>
>> Signed-off-by: Rik van Riel <riel@xxxxxxxxxx>
> This patch should go through Peterz.

Oh, fun. That's what I get for getting the
script, which told me to go through Greg KH instead :)

$ ./scripts/ -f drivers/base/cpu.c
Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> (supporter:DRIVER CORE,
linux-kernel@xxxxxxxxxxxxxxx (open list)

All rights reversed
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at