On 12/14/2010 1:11 AM, Jaroslav Skarvada wrote:
> During the full load when the system does not have opportunity
> to sleep the wakeup counter counts too much (mostly more than 1000).
>
> This issue originates from RH bugzilla:
> https://bugzilla.redhat.com/show_bug.cgi?id=528945
>
> The problem is that if no event occurs the timerstats are used, but
> probably it is not correct for CPUs with multiple C-states. The
> proposed patch is attached.
>
> If there is no wakeup the wakeup counter disappears. I am not sure
> if this is the correct behaviour. If not, the fix seems simple:
>
> -             if (totalevents&&  ticktime) {
> +             if (ticktime) {
>

this does not look correct; sorry.

the real fix is actually a radical change on how things are counted... 
which is done in the powertop 2.x git tree.

_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power

Reply via email to