Re: [PATCH V2 2/4] cpufreq: governor: Implement per policy instances of governors

2013-02-21 Thread Viresh Kumar
On 11 February 2013 13:20, Viresh Kumar wrote: > diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h > #define CPUFREQ_PRECHANGE (0) > @@ -183,11 +197,10 @@ static inline unsigned long cpufreq_scale(unsigned long > old, u_int div, u_int mu > #define CPUFREQ_GOV_STOP 2 >

Re: [PATCH V2 2/4] cpufreq: governor: Implement per policy instances of governors

2013-02-21 Thread Viresh Kumar
On 11 February 2013 13:20, Viresh Kumar viresh.ku...@linaro.org wrote: diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h #define CPUFREQ_PRECHANGE (0) @@ -183,11 +197,10 @@ static inline unsigned long cpufreq_scale(unsigned long old, u_int div, u_int mu #define

[PATCH V2 2/4] cpufreq: governor: Implement per policy instances of governors

2013-02-10 Thread Viresh Kumar
Currently, there can't be multiple instances of single governor_type. If we have a multi-package system, where we have multiple instances of struct policy (per package), we can't have multiple instances of same governor. i.e. We can't have multiple instances of ondemand governor for multiple

[PATCH V2 2/4] cpufreq: governor: Implement per policy instances of governors

2013-02-10 Thread Viresh Kumar
Currently, there can't be multiple instances of single governor_type. If we have a multi-package system, where we have multiple instances of struct policy (per package), we can't have multiple instances of same governor. i.e. We can't have multiple instances of ondemand governor for multiple