From: Pavel Begunkov <asml.silence@gmail.com>
To: io-uring@vger.kernel.org
Cc: asml.silence@gmail.com, axboe@kernel.dk,
Dylan Yudaken <dyudaken@gmail.com>
Subject: [PATCH 0/3] deduplicate send and senmsg zc issue handlers
Date: Mon, 16 Feb 2026 11:45:52 +0000 [thread overview]
Message-ID: <cover.1771240334.git.asml.silence@gmail.com> (raw)
There is a bunch of code duplicated between send_zc and senmsg_zc,
let's consolidate the functions.
Note: it's based on top of Dylan's patch removing buf/len accounting.
Pavel Begunkov (3):
io_uring/zctx: rename flags var for more clarity
io_uring/zctx: move vec regbuf import into io_send_zc_import
io_uring/zctx: unify zerocopy issue variants
io_uring/net.c | 125 ++++++++++++++---------------------------------
io_uring/net.h | 1 -
io_uring/opdef.c | 2 +-
3 files changed, 38 insertions(+), 90 deletions(-)
--
2.52.0
next reply other threads:[~2026-02-16 11:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-16 11:45 Pavel Begunkov [this message]
2026-02-16 11:45 ` [PATCH 1/3] io_uring/zctx: rename flags var for more clarity Pavel Begunkov
2026-02-16 11:45 ` [PATCH 2/3] io_uring/zctx: move vec regbuf import into io_send_zc_import Pavel Begunkov
2026-02-16 11:45 ` [PATCH 3/3] io_uring/zctx: unify zerocopy issue variants Pavel Begunkov
2026-02-16 16:35 ` [PATCH 0/3] deduplicate send and senmsg zc issue handlers Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1771240334.git.asml.silence@gmail.com \
--to=asml.silence@gmail.com \
--cc=axboe@kernel.dk \
--cc=dyudaken@gmail.com \
--cc=io-uring@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox