diff options
| author | Srinivas Pandruvada <[email protected]> | 2016-10-25 13:20:41 -0700 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-11-01 06:04:06 +0100 |
| commit | 5879f877398a2a5e5006c6e16a4288e9d4c308a1 (patch) | |
| tree | 28bf92f4d5ecca835c031e05e731f303ef988ef7 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | eae48f046ffa117afb782cd9b3ae5469df0042e2 (diff) | |
cpufreq: intel_pstate: Reduce impact due to rounding error
When policy->max and policy->min are same, in some cases they don't
result in the same frequency cap. The max_policy_pct is rounded up but
not min_perf_pct. So even when they are same, results in different
percentage or maximum and minimum.
Since minimum is a conservative value for power, a lower value without
rounding is better in most of the cases, unless user wants
policy->max = policy->min.
This change uses use the same policy percentage when policy->max and
policy->min are same.
Signed-off-by: Srinivas Pandruvada <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions