diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-02-04 13:51:57 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-04 08:05:46 -0700 |
commit | c1d5a224683b333ddbe278e455d639ccd4f5ca2b (patch) | |
tree | 5ec3e698f2b96e7e835b9473f52299c28f3f415f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9936c7c2bc76a0b2276f6d19de6d1d92f03deeab (diff) |
io_uring: refactor scheduling in io_cqring_wait
schedule_timeout() with timeout=MAX_SCHEDULE_TIMEOUT is guaranteed to
work just as schedule(), so instead of hand-coding it based on arguments
always use the timeout version and simplify code.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions