diff options
| author | Tejun Heo <tj@kernel.org> | 2020-09-01 21:52:37 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2020-09-02 04:38:31 +0300 |
| commit | 7b84b49e381a8538626f200785dd918a402c62d7 (patch) | |
| tree | d6a7de2c2d73d3744835b910d822af19697b1be6 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 6ef20f787b0aa337dc901d42efa44854e09c87e1 (diff) | |
| download | linux-7b84b49e381a8538626f200785dd918a402c62d7.tar.xz | |
blk-iocost: make iocg_kick_waitq() call iocg_kick_delay() after paying debt
iocg_kick_waitq() is the function which pays debt and iocg_kick_delay()
updates the actual delay status accordingly. If iocg_kick_delay() is not
called after iocg_kick_delay() updated debt, unnecessarily large delays can
be applied temporarily.
Let's make sure such conditions don't occur by making iocg_kick_waitq()
always call iocg_kick_delay() after paying debt.
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
