• Alexander Clouter's avatar
    [PATCH] cpufreq_conservative: aligning of codebase with ondemand · 2c906b31
    Alexander Clouter authored
    Since the conservative govenor was released its codebase has drifted from the
    the direction and updates that have been applied to the ondemand govornor.
    
    This patch addresses the lack of updates in that period and brings
    conservative back up to date.  The resulting diff file between
    cpufreq_ondemand.c and cpufreq_conservative.c is now much smaller and shows
    more clearly the differences between the two.
    
    Another reason to do this is ages ago, knowingly, I did a piss poor attempt
    at making conservative less responsive by knocking up
    DEF_SAMPLING_RATE_LATENCY_MULTIPLIER by two orders of magnitude.  I did fix
    this ages ago but in my dis-organisation I must have toasted the diff and
    left it the way it was.  About two weeks ago a user contacted me saying he
    was having problems with the conservative governor with his AMD Athlon XP-M
    2800+ as /sys/devices/system/cpu/cpu0/cpufreq/conservative showed
      sampling_rate_min   9950000
      sampling_rate_max   1360065408
    
    Nine seconds to decide about changing the frequency....not too responsive :)
    Signed-off-by: default avatarAlexander Clouter <alex-kernel@digriz.org.uk>
    Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
    2c906b31
cpufreq_conservative.c 15.2 KB