diff options
author | Zhang Rui <rui.zhang@intel.com> | 2023-03-21 08:47:14 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-04-27 20:17:11 +0300 |
commit | e4006bfec12cec4fb251de860d384dd34e6df346 (patch) | |
tree | 8bde41a5286409d42965654f4414b774b7414663 /tools/perf/scripts/python/syscall-counts.py | |
parent | cead266cdbcfa471f54590ebfd3ebf303f99123f (diff) | |
download | linux-e4006bfec12cec4fb251de860d384dd34e6df346.tar.xz |
thermal: gov_step_wise: Adjust code logic to match comment
For the algorithm of choosing the next target state in step_wise
governor, the code does the right thing but is implemented in a
way different from what the comment describes. And this hurts the code
readability.
As the logic in the comment is simpler, adjust the code logic to align
with the comment.
No functional change.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
[ rjw: Subject edit ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions