diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2018-06-05 14:42:40 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-06-06 08:37:52 +0200 |
commit | 52ccc4314293272397b117f3cc6f0f368c81431c (patch) | |
tree | bdea5ca8701a87611ee85c366cc09c46ae26f2df /drivers/fpga | |
parent | e0efd5be63e821066b5e6325cf237eb41367552f (diff) | |
download | blackbird-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/fpga')
0 files changed, 0 insertions, 0 deletions