commit | a38d68db6742c19a74141c0f56785ef67f51c504 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Tue Jan 19 13:32:45 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Feb 01 10:02:42 2021 -0700 |
tree | 2870ace1f49097891512fffa252ac11e1d2d116c | |
parent | 8662daec09edcdba2659799040aee1ba575c4799 [diff] |
io_uring: help inlining of io_req_complete() __io_req_complete() inlining is a bit weird, some compilers don't optimise out the non-NULL branch of it even when called as io_req_complete(). Help it a bit by extracting state and stateless helpers out of __io_req_complete(). Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>