Re: [PATCH] cpuidle: move field disable from per-driver to per-cpu

From: Andrew J. Schorr
Date: Thu Jun 14 2012 - 10:47:40 EST


Hi,

On Thu, Jun 14, 2012 at 10:52:48AM +0800, ShuoX Liu wrote:
> Andrew J.Schorr raises a question. When he changes the disable setting
> on a single CPU, it affects all the other CPUs. Basically, currently,
> the disable field is per-driver instead of per-cpu. All the C states of
> the same driver are shared by all CPU in the same machine.
>
> Below patch changes field disable to per-cpu, so we could set this
> separately for each cpu.

Thanks. I have not tested this, but it looks very useful to have the
flexibility to disable certain C states on a subset of the cores. The current
implementation affecting all cores is much less powerful.

Thanks,
Andrew
--
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/