Files
linux/kernel
Dietmar Eggemann da6833cff7 sched/fair: introduce an arch scaling function for max frequency capping
The max frequency scaling factor is defined as:

  max_freq_scale = policy_max_freq / cpuinfo_max_freq

To be able to scale the cpu capacity by this factor introduce a call to
the new arch scaling function arch_scale_max_freq_capacity() in
update_cpu_capacity() and provide a default implementation which returns
SCHED_CAPACITY_SCALE.

Another subsystem (e.g. cpufreq) can overwrite this default implementation,
exactly as for frequency and cpu invariance. It has to be enabled by the
arch by defining arch_scale_max_freq_capacity to the actual
implementation.

Change-Id: I266cd1f4c1c82f54b80063c36aa5f7662599dd28
Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: Chris Redpath <chris.redpath@arm.com>
2018-02-01 15:59:24 +00:00
..
2017-01-31 13:55:27 -08:00
2017-10-12 22:31:24 +02:00
2017-09-02 07:07:53 +02:00
2017-10-12 22:31:24 +02:00
2017-10-12 22:31:24 +02:00
2015-04-11 22:27:55 -04:00
2015-11-19 17:51:48 +01:00
2016-01-22 18:04:28 -05:00
2016-04-04 09:46:47 -04:00
2014-08-08 15:57:18 -07:00
2017-08-11 13:55:02 -07:00
2017-08-07 14:21:32 -07:00
2017-10-12 22:31:24 +02:00
2015-04-12 21:03:31 +02:00
2015-11-23 09:44:58 +01:00
2016-02-16 13:04:58 -05:00
2017-05-20 14:28:40 +02:00
2017-07-05 14:40:24 +02:00
2017-08-24 17:12:21 -07:00
2015-01-17 10:02:23 +13:00
2016-03-01 20:36:56 +01:00
2017-11-07 10:31:04 +05:30
2016-10-07 18:46:30 -07:00
2016-09-22 20:00:36 -05:00