diff options
| author | Chris Redpath <chris.redpath@arm.com> | 2017-05-25 15:15:33 +0100 |
|---|---|---|
| committer | Andres Oportus <andresoportus@google.com> | 2017-07-18 18:18:33 +0000 |
| commit | 7378c38a80fc434f8d6cf61167d843ca388468b5 (patch) | |
| tree | 35d84010f2e1eba4adff6aa070a5cefaf2284ca0 /net/core/dev.c | |
| parent | cbaccedead5cc87296194c6a668ea38de8d7c17c (diff) | |
UPSTREAM: cpufreq: schedutil: Fix per-CPU structure initialization in sugov_start()
sugov_start() only initializes struct sugov_cpu per-CPU structures
for shared policies, but it should do that for single-CPU policies too.
That in particular makes the IO-wait boost mechanism work in the
cases when cpufreq policies correspond to individual CPUs.
Fixes: 21ca6d2c52f8 (cpufreq: schedutil: Add iowait boosting)
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: 4.9+ <stable@vger.kernel.org> # 4.9+
(cherry picked from commit 4296f23ed49a15d36949458adcc66ff993dee2a8)
(we use SCHED_CPUFREQ_DL instead of SCHED_CPUFREQ_RT in cpu->flags)
Signed-off-by: Chris Redpath <chris.redpath@arm.com>
Change-Id: I5b837a0ee4432115d85caa1a9808ea61e1e1b07f
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions
