summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2020-09-01 21:52:35 +0300
committerJens Axboe <axboe@kernel.dk>2020-09-02 04:38:31 +0300
commitdb84a72af6be422abf2089a5896293590dda5066 (patch)
tree015107e8a4c471aa1fd872043d096ea39c835617 /tools/perf/scripts/python/check-perf-trace.py
parent00410f1b09fe7c9a12bde07f0bb4b978a3367f3a (diff)
downloadlinux-db84a72af6be422abf2089a5896293590dda5066.tar.xz
blk-iocost: clamp inuse and skip noops in __propagate_weights()
__propagate_weights() currently expects the callers to clamp inuse within [1, active], which is needlessly fragile. The inuse adjustment logic is going to be revamped, in preparation, let's make __propagate_weights() clamp inuse on entry. Also, make it avoid weight updates altogether if neither active or inuse is changed. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions