aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2020-09-17 20:44:54 -0400
committerJens Axboe <[email protected]>2020-09-25 08:35:02 -0600
commitd95178410b7706844491efb77fb0a37a69f7a5e6 (patch)
tree7798e50745e783b2ab79ecd91f52c3fe74a8f2de /tools/perf/scripts/python/bin/stackcollapse-report
parent33a1fe6d822b3552fcad9bbb059b2fb93566f4c9 (diff)
iocost: recalculate delay after debt reduction
Debt sets the initial delay duration which is decayed over time. The current debt reduction halved the debt but didn't change the delay. It prevented future debts from increasing delay but didn't do anything to lower the existing delay, limiting the mechanism's ability to reduce unnecessary idling. Reset iocg->delay to 0 after debt reduction so that iocg_kick_waitq() recalculates new delay value based on the reduced debt amount. Signed-off-by: Tejun Heo <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions