]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Mar 2025 22:15:42 +0000 (16:15 -0600)
commit04491732fc996305e1de80255d64ed6d1c472df5
tree59964d331ca4711e57ccef3d82ea4fdb79b13c75
parenteff5f16bfd87ae48c56751741af41a825d5d4618
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