Skip to content
Commit 93940fbd authored by Christian Loehle's avatar Christian Loehle Committed by Rafael J. Wysocki
Browse files

cpufreq/schedutil: Only bind threads if needed



Remove the unconditional binding of sugov kthreads to the affected CPUs
if the cpufreq driver indicates that updates can happen from any CPU.
This allows userspace to set affinities to either save power (waking up
bigger CPUs on HMP can be expensive) or increasing performance (by
letting the utilized CPUs run without preemption of the sugov kthread).

Signed-off-by: Christian Loehle's avatarChristian Loehle <christian.loehle@arm.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Acked-by: Vincent Guittot's avatarVincent Guittot <vincent.guittot@linaro.org>
Acked-by: default avatarRafael J. Wysocki <rafael@kernel.org>
Acked-by: default avatarJuri Lelli <juri.lelli@redhat.com>
Link: https://patch.msgid.link/5a8deed4-7764-4729-a9d4-9520c25fa7e8@arm.com


Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 2b16c631
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment