diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-03-18 14:36:03 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-04-15 16:10:25 +0200 |
commit | c6f32c7d9e09bf1368447e9a29e869193ecbb756 (patch) | |
tree | 941e0c2eaa18d1b8f663d842659d07f00a5d6a49 /io_uring/net.h | |
parent | io_uring/net: always set kmsg->msg.msg_control_user before issue (diff) | |
download | linux-c6f32c7d9e09bf1368447e9a29e869193ecbb756.tar.xz linux-c6f32c7d9e09bf1368447e9a29e869193ecbb756.zip |
io_uring/net: get rid of ->prep_async() for receive side
Move the io_async_msghdr out of the issue path and into prep handling,
since it's now done unconditionally and hence does not need to be part
of the issue path. This reduces the footprint of the multishot fast
path of multiple invocations of ->issue() per prep, and also means that
using ->prep_async() can be dropped for recvmsg asthis is now done via
setup on the prep side.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/net.h')
-rw-r--r-- | io_uring/net.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/net.h b/io_uring/net.h index 5c1230f1aaf9..4b4fd9b1b7b4 100644 --- a/io_uring/net.h +++ b/io_uring/net.h @@ -42,7 +42,6 @@ int io_sendmsg(struct io_kiocb *req, unsigned int issue_flags); int io_send(struct io_kiocb *req, unsigned int issue_flags); int io_sendrecv_prep_async(struct io_kiocb *req); -int io_recvmsg_prep_async(struct io_kiocb *req); int io_recvmsg_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); int io_recvmsg(struct io_kiocb *req, unsigned int issue_flags); int io_recv(struct io_kiocb *req, unsigned int issue_flags); |