diff options
author | Baolin Wang <[email protected]> | 2020-10-08 11:52:27 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-10-08 08:01:38 -0600 |
commit | 2397611ac802c4f8028b6b2e585b9857d2f8138b (patch) | |
tree | 860f4f541bbfaa27643a098bdc190422ea4814cb /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b7b609de5a0835b2ca10c71df5d9570008eb1084 (diff) |
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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions