Re: [PATCH] cpufreq: Fix ondemand governor powersave_bias executiontime misuse

From: Arjan van de Ven
Date: Fri Nov 05 2010 - 07:49:13 EST


On 11/5/2010 11:19 AM, Youquan Song wrote:
Ondemand governor use powersave_bias tunable to do aggressive power save by
decrease CPU average frequency. The average frequency achieve by adjust low and
high frequency's execution time proportion during one sample time interval.

Current kernel, only the high frequency executes in time proportion, but the low
frequency wrongly execute in one whole sample time interval when powersave_bias
is set.

The patch fix it by set low frequency execution time to it deserved.

Signed-off-by: Youquan Song<youquan.song@xxxxxxxxx>
---


while your patch looks correct, I think the whole feature is wonky and likely ought to be removed...........

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/