commit | fa15bafb71fd7a4d6018dae87cfaf890fd4ab47f | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sat Aug 01 13:50:02 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Aug 01 11:02:57 2020 -0600 |
tree | c5b160ef4ba5b95a531d4471c948f047d1c45a86 | |
parent | 1752f0adea98ef859978c090e0726844348758f9 [diff] |
io_uring: flip if handling after io_setup_async_rw As recently done with with send/recv, flip the if after rw_verify_aread() in io_{read,write}() and tabulise left bits left. This removes mispredicted by a compiler jump on the success/fast path. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>