aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2016-10-19 00:57:22 +0000
committerRafael J. Wysocki <[email protected]>2016-10-21 20:18:22 +0000
commita6c6ead14183ea4ec8ce7551e1f3451024b9c4db (patch)
tree4d83d3c8a987c477ecae017915c7aee58afceafc /net/switchdev/switchdev.c
parentcpufreq: fix overflow in cpufreq_table_find_index_dl() (diff)
downloadkernel-a6c6ead14183ea4ec8ce7551e1f3451024b9c4db.tar.gz
kernel-a6c6ead14183ea4ec8ce7551e1f3451024b9c4db.zip
cpufreq: intel_pstate: Set P-state upfront in performance mode
After commit a4675fbc4a7a (cpufreq: intel_pstate: Replace timers with utilization update callbacks) the cpufreq governor callbacks may not be invoked on NOHZ_FULL CPUs and, in particular, switching to the "performance" policy via sysfs may not have any effect on them. That is a problem, because it usually is desirable to squeeze the last bit of performance out of those CPUs, so work around it by setting the maximum P-state (within the limits) in intel_pstate_set_policy() upfront when the policy is CPUFREQ_POLICY_PERFORMANCE. Fixes: a4675fbc4a7a (cpufreq: intel_pstate: Replace timers with utilization update callbacks) Signed-off-by: Rafael J. Wysocki <[email protected]> Acked-by: Srinivas Pandruvada <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions