Re: [RFC 1/4] sched: extend the usage of cpu_power_orig

2014-04-03 Thread Preeti U Murthy
On 04/01/2014 04:50 PM, Vincent Guittot wrote: > On 1 April 2014 12:39, Preeti U Murthy wrote: >> Hi Vincent, >> >> On 03/28/2014 06:52 PM, Vincent Guittot wrote: >>> cpu_power_orig is only changed for SMT system in order to reflect the lower >>> capacity of CPUs. Heterogenous system also have to

Re: [RFC 1/4] sched: extend the usage of cpu_power_orig

2014-04-01 Thread Vincent Guittot
On 1 April 2014 12:39, Preeti U Murthy wrote: > Hi Vincent, > > On 03/28/2014 06:52 PM, Vincent Guittot wrote: >> cpu_power_orig is only changed for SMT system in order to reflect the lower >> capacity of CPUs. Heterogenous system also have to reflect an original >> capacity that is different from

Re: [RFC 1/4] sched: extend the usage of cpu_power_orig

2014-04-01 Thread Preeti U Murthy
Hi Vincent, On 03/28/2014 06:52 PM, Vincent Guittot wrote: > cpu_power_orig is only changed for SMT system in order to reflect the lower > capacity of CPUs. Heterogenous system also have to reflect an original > capacity that is different from the default value. There is no parameter 'cpu_power_o

[RFC 1/4] sched: extend the usage of cpu_power_orig

2014-03-28 Thread Vincent Guittot
cpu_power_orig is only changed for SMT system in order to reflect the lower capacity of CPUs. Heterogenous system also have to reflect an original capacity that is different from the default value. Create a more generic function arch_scale_cpu_power that can be also used by non SMT platform to set