Comment 60 for bug 760131

Revision history for this message
Andy Whitcroft (apw) wrote :

The patch which is being discussed seems to be this one:

  commit 7467571f4480b273007517b26297c07154c73924
  Author: Tero Kristo <email address hidden>
  Date: Thu Feb 24 17:19:23 2011 +0200

    cpuidle: menu: fixed wrapping timers at 4.294 seconds

    Cpuidle menu governor is using u32 as a temporary datatype for storing
    nanosecond values which wrap around at 4.294 seconds. This causes errors
    in predicted sleep times resulting in higher than should be C state
    selection and increased power consumption. This also breaks cpuidle
    state residency statistics.

    cc: <email address hidden> # .32.x through .39.x
    Signed-off-by: Tero Kristo <email address hidden>
    Signed-off-by: Len Brown <email address hidden>

This patch seems to be in 2.6.38.8 and 2.6.39.1 stable updates which should be included in official kernels in the next few weeks.