Re: [PATCH] cpufreq: ondemand: Change the calculation of target frequency

From: Viresh Kumar
Date: Mon Jun 03 2013 - 02:55:12 EST

Sent half written mail.. sorry.. will continue from where I left.

On 3 June 2013 12:21, Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:

> So, obviously the calculations aren't the same..

Now, this is how I understood these two different variables:
- cpuinfo.max_freq: maximum frequency (in kHz) which is
supported by this CPU
- policy->max: Maximum frequency forced by user or governor

When somebody sets policy->max, he expects cpufreq core to
use the range between min and max as the slope cpufreq core
has and adjust its frequencies accordingly..

Don't know if I am right or wrong :(
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at