diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-12-14 21:04:11 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-12-15 19:24:18 +0100 |
commit | ca6827de4b67367e73fdf43d2ea0a0064423edfb (patch) | |
tree | 8c23054acc81aebb96ee8e21d0bb37658bd78f84 /.gitignore | |
parent | cppc_cpufreq: replace per-cpu data array with a list (diff) | |
download | linux-ca6827de4b67367e73fdf43d2ea0a0064423edfb.tar.xz linux-ca6827de4b67367e73fdf43d2ea0a0064423edfb.zip |
cpufreq: schedutil: Add util to struct sg_cpu
Instead of passing util and max between functions while computing the
utilization and capacity, store the former in struct sg_cpu (along
with the latter and bw_dl).
This will allow the current utilization value to be compared with the
one obtained previously (which is requisite for some code changes to
follow this one), but also it causes the code to look slightly more
consistent and cleaner.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions