Re: [PATCH 03/13] rcu: Exclude all potential timekeepers fromsysidle detection

From: Peter Zijlstra
Date: Wed Dec 18 2013 - 06:46:52 EST


On Wed, Dec 18, 2013 at 12:43:18PM +0100, Peter Zijlstra wrote:
> On Wed, Dec 18, 2013 at 12:49:15AM +0100, Frederic Weisbecker wrote:
> > That's to start simple as CPU 0 can't be offlined.
>
> Yes it can, see CONFIG_BOOTPARAM_HOTPLUG_CPU0

Also, that's a traditional weirdness of x86. Other archs might not have
this constraint at all and can hotplug any cpu.

So relying on the fact that cpu 0 cannot be hotplugged is broken.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/