diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2022-04-15 22:08:28 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2022-04-24 18:02:49 -0600 |
| commit | 7bfa9badc793ba5e8b530dc3a3cb092a1c22685b (patch) | |
| tree | c8c08bd2a36cf4e71f4f26c71ebc5dc057a01478 /lib/mpi/mpiutil.c | |
| parent | 77955efbc46220adce9ecb803fb9ff9042bd7236 (diff) | |
io_uring: refactor io_queue_sqe()
io_queue_sqe() is a part of the submission path and we try hard to keep
it inlined, so shed some extra bytes from it by moving the error
checking part into io_queue_sqe_arm_apoll() and renaming it accordingly.
note: io_queue_sqe_arm_apoll() is not inlined, thus the patch doesn't
change the number of function calls for the apoll path.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/9b79edd246336decfaca79b949a15ac69123490d.1650056133.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
