]> www.infradead.org Git - nvme.git/commit
io_uring/net: account memory for zc sendmsg
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 27 Mar 2025 15:02:20 +0000 (15:02 +0000)
committerKeith Busch <kbusch@kernel.org>
Mon, 31 Mar 2025 15:48:23 +0000 (08:48 -0700)
commit1c58f14ac2e701c79601a714e864f8a331695601
treef8b0c9abdae818d1814b2a4db832729aa9392479
parent4e82c87058f45e79eeaa4d5bcc3b38dd3dce7209
io_uring/net: account memory for zc sendmsg

Account pinned pages for IORING_OP_SENDMSG_ZC, just as we for
IORING_OP_SEND_ZC and net/ does for MSG_ZEROCOPY.

Fixes: 493108d95f146 ("io_uring/net: zerocopy sendmsg")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/4f00f67ca6ac8e8ed62343ae92b5816b1e0c9c4b.1743086313.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c