aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2023-01-05 10:49:15 +0000
committerJens Axboe <[email protected]>2023-01-05 15:04:47 +0000
commit12521a5d5cb7ff0ad43eadfc9c135d86e1131fa8 (patch)
treed9017ab2dc68c6ec6503969565c8acda18ac3dd0 /tools/perf/scripts/python/stat-cpi.py
parentio_uring: move 'poll_multi_queue' bool in io_ring_ctx (diff)
downloadkernel-12521a5d5cb7ff0ad43eadfc9c135d86e1131fa8.tar.gz
kernel-12521a5d5cb7ff0ad43eadfc9c135d86e1131fa8.zip
io_uring: fix CQ waiting timeout handling
Jiffy to ktime CQ waiting conversion broke how we treat timeouts, in particular we rearm it anew every time we get into io_cqring_wait_schedule() without adjusting the timeout. Waiting for 2 CQEs and getting a task_work in the middle may double the timeout value, or even worse in some cases task may wait indefinitely. Cc: [email protected] Fixes: 228339662b398 ("io_uring: don't convert to jiffies for waiting on timeouts") Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/f7bffddd71b08f28a877d44d37ac953ddb01590d.1672915663.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions