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/bin | |
| parent | io_uring: deduplicate core cancellations sequence (diff) | |
| download | linux-c1d5a224683b333ddbe278e455d639ccd4f5ca2b.tar.gz linux-c1d5a224683b333ddbe278e455d639ccd4f5ca2b.zip | |
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/bin')
0 files changed, 0 insertions, 0 deletions
