diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-08-01 12:50:02 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-08-01 19:02:57 +0200 |
commit | fa15bafb71fd7a4d6018dae87cfaf890fd4ab47f (patch) | |
tree | c5b160ef4ba5b95a531d4471c948f047d1c45a86 /mm/filemap.c | |
parent | fs: optimise kiocb_set_rw_flags() (diff) | |
download | linux-fa15bafb71fd7a4d6018dae87cfaf890fd4ab47f.tar.xz linux-fa15bafb71fd7a4d6018dae87cfaf890fd4ab47f.zip |
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>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions