Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7922ae4e authored by Rafael J. Wysocki's avatar Rafael J. Wysocki Committed by Stephen Boyd
Browse files

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.

Change-Id: Ic46ac4f293b929655c8b3bf8e8e0af84678b8f38
Fixes: 21ca6d2c (cpufreq: schedutil: Add iowait boosting)
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Cc: 4.9+ <stable@vger.kernel.org> # 4.9+
Git-commit: 4296f23ed49a15d36949458adcc66ff993dee2a8
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent e74f7f10
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment