commit | 51d48dab62ed9e44e0ccc723411b0d95286a821c | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Mon Oct 04 20:02:47 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Oct 19 05:49:54 2021 -0600 |
tree | 35e3d544b59be8b861336100fd0465d7547ae625 | |
parent | 7e3709d57651feab9c77d7a5a8024041f73f69f7 [diff] |
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>