summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2018-06-05 14:42:40 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-06-06 08:37:52 +0200
commit52ccc4314293272397b117f3cc6f0f368c81431c (patch)
treebdea5ca8701a87611ee85c366cc09c46ae26f2df /drivers/platform
parente0efd5be63e821066b5e6325cf237eb41367552f (diff)
downloadblackbird-op-linux-52ccc4314293272397b117f3cc6f0f368c81431c.tar.gz
blackbird-op-linux-52ccc4314293272397b117f3cc6f0f368c81431c.zip
cpufreq: intel_pstate: HWP boost performance on IO wakeup
This change uses SCHED_CPUFREQ_IOWAIT flag to boost HWP performance. Since SCHED_CPUFREQ_IOWAIT flag is set frequently, we don't start boosting steps unless we see two consecutive flags in two ticks. This avoids boosting due to IO because of regular system activities. To avoid synchronization issues, the actual processing of the flag is done on the local CPU callback. Reported-by: Mel Gorman <mgorman@techsingularity.net> Tested-by: Giovanni Gherdovich <ggherdovich@suse.cz> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud