summaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-03-21 22:02:24 +0000
committerJens Axboe <axboe@kernel.dk>2022-04-24 17:34:16 -0600
commit57859f4d93db3eecd5dd680d3b3520eea80c996b (patch)
tree7c1f9d3a35a9c6a41b28088b3b62597398eb9c1e /lib/string_helpers.c
parentb605a7fabb607adbe4ea7cc97b69ae6e0555e7b2 (diff)
io_uring: clean up io_queue_next()
Move fast check out of io_queue_next(), it makes req->flags checks in __io_submit_flush_completions() a bit clearer and grants us better comtrol, e.g. can remove now not justified unlikely() in __io_submit_flush_completions(). Also, we don't care about having this check in io_free_req() as the function is a slow path and io_req_find_next() handles it correctly. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/1f9e1cc80adbb11b37017d511df4a2c6141a3f08.1647897811.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions