Re: cpufreq policy

2014-05-25 Thread Viresh Kumar
On 26 May 2014 10:53, Ryan wrote: > Thanks for your help. Your welcome.. > I was trying to print the policy pointer of each cpu - and it points > to the same address for all cpus. Good, so all CPUs are sharing the same clock line in your case. You are probably using an ARM board :) > But could

Re: cpufreq policy

2014-05-25 Thread Ryan
Hi, Thanks for your help. I was trying to print the policy pointer of each cpu - and it points to the same address for all cpus. But could not find the code which does that (when cpu is added it should point to the same structure) Also as i undertsand: CPUFREQ_GOV_POLICY_INIT and CPUFREQ_GOV_P

Re: cpufreq policy

2014-05-25 Thread Viresh Kumar
On 26 May 2014 00:27, Ryan wrote: > What is the difference between cpufreq policy and governors? Probably you can go through Documentation/cpu-freq/* for this information. Governor decides which frequency you will switch to and when. Policy decides which frequencies you *can* switch to. > Are th