summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/longhaul.h
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2018-06-06 00:42:40 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-06-06 09:37:52 +0300
commit52ccc4314293272397b117f3cc6f0f368c81431c (patch)
treebdea5ca8701a87611ee85c366cc09c46ae26f2df /drivers/cpufreq/longhaul.h
parente0efd5be63e821066b5e6325cf237eb41367552f (diff)
downloadlinux-52ccc4314293272397b117f3cc6f0f368c81431c.tar.xz
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/cpufreq/longhaul.h')
0 files changed, 0 insertions, 0 deletions