commit | e1d767f078b88423bb8ed179fbfe3369395e10f8 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Fri Mar 19 17:22:43 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Apr 11 17:41:59 2021 -0600 |
tree | 2a7afe92af793a3074eaa786165cd55848989bc2 | |
parent | 094bae49e5ed9c30c1a6e50e121be20469486fab [diff] |
io_uring: abolish old io_put_file() io_put_file() doesn't do a good job at generating a good code. Inline it, so we can check REQ_F_FIXED_FILE first, prioritising FIXED_FILE case over requests without files, and saving a memory load in that case. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>