Messages in this thread | | | Date | Thu, 14 Jun 2012 10:41:27 -0400 | From | "Andrew J. Schorr" <> | Subject | Re: [PATCH] cpuidle: move field disable from per-driver to per-cpu |
| |
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
| |