summaryrefslogtreecommitdiff
path: root/io_uring/io_uring.h
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2023-01-05 11:22:21 +0000
committerJens Axboe <axboe@kernel.dk>2023-01-29 15:17:39 -0700
commitf36ba6cf1ab6b05a538aae9cca896917db14ba27 (patch)
treee0a7d7f5fd79c684ddb6502fe14666d2b9bcdd94 /io_uring/io_uring.h
parent0c4fe008c9cb2215b3f838769886857ae986014b (diff)
io_uring: don't iterate cq wait fast path
Task work runners keep running until all queues tw items are exhausted. It's also rare for defer tw to queue normal tw and vise versa. Taking it into account, there is only a dim chance that further iterating the io_cqring_wait() fast path will get us anything and so we can remove the loop there. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/1f9565726661266abaa5d921e97433c831759ecf.1672916894.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io_uring.h')
0 files changed, 0 insertions, 0 deletions