diff options
| author | Steve Muckle <[email protected]> | 2016-08-26 18:40:47 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-08-31 22:32:57 +0000 |
| commit | 8314bc83f6a33958a033955e9bdc48e8dd4d5fb0 (patch) | |
| tree | 123b8124e4e740e85152bed5602788b06f6a89ad /scripts/gcc-plugins | |
| parent | cpufreq / sched: Pass runqueue pointer to cpufreq_update_util() (diff) | |
| download | kernel-8314bc83f6a33958a033955e9bdc48e8dd4d5fb0.tar.gz kernel-8314bc83f6a33958a033955e9bdc48e8dd4d5fb0.zip | |
cpufreq / sched: ignore SMT when determining max cpu capacity
PELT does not consider SMT when scaling its utilization values via
arch_scale_cpu_capacity(). The value in rq->cpu_capacity_orig does
take SMT into consideration though and therefore may be smaller than
the utilization reported by PELT.
On an Intel i7-3630QM for example rq->cpu_capacity_orig is 589 but
util_avg scales up to 1024. This means that a 50% utilized CPU will show
up in schedutil as ~86% busy.
Fix this by using the same CPU scaling value in schedutil as that which
is used by PELT.
Signed-off-by: Steve Muckle <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions
