summaryrefslogtreecommitdiffstats
path: root/kernel/Kconfig.hz
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linux.alibaba.com>2020-10-08 05:52:27 +0200
committerJens Axboe <axboe@kernel.dk>2020-10-08 16:01:38 +0200
commit2397611ac802c4f8028b6b2e585b9857d2f8138b (patch)
tree860f4f541bbfaa27643a098bdc190422ea4814cb /kernel/Kconfig.hz
parentblk-throttle: Move the list operation after list validation (diff)
downloadlinux-2397611ac802c4f8028b6b2e585b9857d2f8138b.tar.xz
linux-2397611ac802c4f8028b6b2e585b9857d2f8138b.zip
blk-throttle: Move service tree validation out of the throtl_rb_first()
The throtl_schedule_next_dispatch() will validate if the service queue is empty before calling update_min_dispatch_time(), and the update_min_dispatch_time() will call throtl_rb_first(), which will validate service queue again. Thus we can move the service queue validation out of the throtl_rb_first() to remove the redundant validation in the fast path. Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/Kconfig.hz')
0 files changed, 0 insertions, 0 deletions