mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
8011fdc939
Currently only current cpu load is considered when frequency scaling. As a side effect of this when scheduler migrates a thread to a slower core, the execution time increases unexpectedly. The new algorithm not only considers current cpu load for frequency scaling, but also takes into account load of other online cpus. The treshold for this can be controlled using up_threshold_any_cpu_load. When the up_threshold_any_cpu_load is crossed in any cpu then the current cpu is set to sync_freq. Also, when more than one cpu is online a two step ramp-up mechanism is used. When the up_threshold_multi_core is crossed the cpu is ramped up to optimal_freq which is less than policy->max and set to a power friendly value. Change-Id: I64bed1b142cde1f239e73aa1f78981c78aaf59ce Signed-off-by: Narayanan Gopalakrishnan <nargop@codeaurora.org> (cherry picked from commit d3ca78370df00ec7a5b6816321ea1a1a371f2850) |
||
---|---|---|
.. | ||
acpi-cpufreq.c | ||
cpufreq-nforce2.c | ||
cpufreq.c | ||
cpufreq_conservative.c | ||
cpufreq_gov_msm.c | ||
cpufreq_interactive.c | ||
cpufreq_ondemand.c | ||
cpufreq_performance.c | ||
cpufreq_powersave.c | ||
cpufreq_stats.c | ||
cpufreq_userspace.c | ||
db8500-cpufreq.c | ||
e_powersaver.c | ||
elanfreq.c | ||
exynos-cpufreq.c | ||
exynos4x12-cpufreq.c | ||
exynos4210-cpufreq.c | ||
exynos5250-cpufreq.c | ||
freq_table.c | ||
gx-suspmod.c | ||
Kconfig | ||
Kconfig.arm | ||
Kconfig.powerpc | ||
Kconfig.x86 | ||
longhaul.c | ||
longhaul.h | ||
longrun.c | ||
Makefile | ||
maple-cpufreq.c | ||
mperf.c | ||
mperf.h | ||
omap-cpufreq.c | ||
p4-clockmod.c | ||
pcc-cpufreq.c | ||
powernow-k6.c | ||
powernow-k7.c | ||
powernow-k7.h | ||
powernow-k8.c | ||
powernow-k8.h | ||
s3c64xx-cpufreq.c | ||
s3c2416-cpufreq.c | ||
s5pv210-cpufreq.c | ||
sc520_freq.c | ||
speedstep-centrino.c | ||
speedstep-ich.c | ||
speedstep-lib.c | ||
speedstep-lib.h | ||
speedstep-smi.c |