summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2017-06-23 22:11:54 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-06-27 01:47:34 +0200
commit82b4e03e01bc8def546b52707962809f04ae5c7a (patch)
tree1dc5971444d0e81e2f931c0af7560ff2169223bb /firmware
parent62611cb912f7cb08ef7815780bcc20a09abedd20 (diff)
downloadop-kernel-dev-82b4e03e01bc8def546b52707962809f04ae5c7a.zip
op-kernel-dev-82b4e03e01bc8def546b52707962809f04ae5c7a.tar.gz
intel_pstate: skip scheduler hook when in "performance" mode
When the governor is set to "performance", intel_pstate does not need the scheduler hook for doing any calculations. Under these conditions, its only purpose is to continue to maintain cpufreq/scaling_cur_freq. The cpufreq/scaling_cur_freq sysfs attribute is now provided by shared x86 cpufreq code on modern x86 systems, including all systems supported by the intel_pstate driver. So in "performance" governor mode, the scheduler hook can be skipped. This applies to both in Software and Hardware P-state control modes. Suggested-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud