diff options
| author | Viresh Kumar <[email protected]> | 2017-03-02 08:33:20 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2017-03-05 22:58:48 +0000 |
| commit | 6c4f0fa643cb9e775dcc976e3db00d649468ff1d (patch) | |
| tree | 4d044ebcfc34c31b7a0ff2e0c5ca49b7824c2e7b /scripts/gcc-plugins/sancov_plugin.c | |
| parent | Linux 4.11-rc1 (diff) | |
| download | kernel-6c4f0fa643cb9e775dcc976e3db00d649468ff1d.tar.gz kernel-6c4f0fa643cb9e775dcc976e3db00d649468ff1d.zip | |
cpufreq: schedutil: move cached_raw_freq to struct sugov_policy
cached_raw_freq applies to the entire cpufreq policy and not individual
CPUs. Apart from wasting per-cpu memory, it is actually wrong to keep it
in struct sugov_cpu as we may end up comparing next_freq with a stale
cached_raw_freq of a random CPU.
Move cached_raw_freq to struct sugov_policy.
Fixes: 5cbea46984d6 (cpufreq: schedutil: map raw required frequency to driver frequency)
Signed-off-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
