diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2021-01-19 13:32:45 +0000 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2021-02-01 10:02:42 -0700 |
| commit | a38d68db6742c19a74141c0f56785ef67f51c504 (patch) | |
| tree | 2870ace1f49097891512fffa252ac11e1d2d116c /lib/mpi/mpi-add.c | |
| 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>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
