summaryrefslogtreecommitdiffstats
path: root/Documentation/fb
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2020-09-17 20:44:54 -0400
committerJens Axboe <axboe@kernel.dk>2020-09-25 08:35:02 -0600
commitd95178410b7706844491efb77fb0a37a69f7a5e6 (patch)
tree7798e50745e783b2ab79ecd91f52c3fe74a8f2de /Documentation/fb
parent33a1fe6d822b3552fcad9bbb059b2fb93566f4c9 (diff)
downloadlinux-d95178410b7706844491efb77fb0a37a69f7a5e6.tar.gz
linux-d95178410b7706844491efb77fb0a37a69f7a5e6.tar.bz2
linux-d95178410b7706844491efb77fb0a37a69f7a5e6.zip
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 <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/fb')
0 files changed, 0 insertions, 0 deletions