Files
linux/drivers
Dietmar Eggemann 6ccce9a636 cpufreq: Frequency invariant scheduler load-tracking support
Implements cpufreq_scale_freq_capacity() to provide the scheduler with a
frequency scaling correction factor for more accurate load-tracking.

The factor is:

	current_freq(cpu) << SCHED_CAPACITY_SHIFT / max_freq(cpu)

In fact, freq_scale should be a struct cpufreq_policy data member. But
this would require that the scheduler hot path (__update_load_avg()) would
have to grab the cpufreq lock. This can be avoided by using per-cpu data
initialized to SCHED_CAPACITY_SCALE for freq_scale.

Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
2016-03-21 12:34:30 +00:00
..
2015-10-12 19:56:27 -07:00
2015-10-02 11:05:58 +09:00
2015-10-29 09:02:16 +09:00
2015-11-08 16:24:43 -05:00
2015-10-12 10:29:36 -07:00
2016-03-03 15:07:27 -08:00
2016-03-09 15:34:50 -08:00