commit | 33f993da9829738da3e088fb5d3128880a4137ba | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Fri Mar 19 17:22:30 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Apr 11 17:41:58 2021 -0600 |
tree | aea8567125c2dc92d86b77eeee73a5307149c8d4 | |
parent | 493f3b158a1e445e24d567847045baf5a723d206 [diff] |
io_uring: optimise io_uring_enter() Add unlikely annotations, because my compiler pretty much mispredicts every first check, and apart jumping around in the fast path, it also generates extra instructions, like in advance setting ret value. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>