io_uring: add more likely/unlikely() annotations
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 4 Oct 2021 19:02:47 +0000 (20:02 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 11:49:54 +0000 (05:49 -0600)
commit51d48dab62ed9e44e0ccc723411b0d95286a821c
tree35e3d544b59be8b861336100fd0465d7547ae625
parent7e3709d57651feab9c77d7a5a8024041f73f69f7
io_uring: add more likely/unlikely() annotations

Add two extra unlikely() in io_submit_sqes() and one around
io_req_needs_clean() to help the compiler to avoid extra jumps
in hot paths.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/88e087afe657e7660194353aada9b00f11d480f9.1633373302.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c