summaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-03-19 14:30:02 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-03-21 01:03:08 +0100
commit4296f23ed49a15d36949458adcc66ff993dee2a8 (patch)
treee2c20f28627ea313e6439e4aa5600c3bc48bda96 /kernel/cpu.c
parent97da3854c526d3a6ee05c849c96e48d21527606c (diff)
downloadlinux-4296f23ed49a15d36949458adcc66ff993dee2a8.tar.gz
linux-4296f23ed49a15d36949458adcc66ff993dee2a8.tar.bz2
linux-4296f23ed49a15d36949458adcc66ff993dee2a8.zip
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+
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions