Re: [QUERY]: Is using CPU hotplug right for isolating CPUs?

From: Viresh Kumar
Date: Thu Jan 23 2014 - 09:27:50 EST

On 23 January 2014 19:24, Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:
> On Tue, Jan 21, 2014 at 10:07:58AM +0800, Lei Wen wrote:
>> I find the cpuset's cpus member becomes NULL even I hotplug the core3
>> back again.
>> So is it a bug?
> Not sure, you may need to check cpuset internals.

I think this is the correct behavior. Userspace must decide what to do
with that CPU once it is back. Simply reverting to earlier cpusets
configuration might not be the right approach.

Also, what if cpusets have been rewritten in-between hotplug events.
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