]> Gentwo Git Trees - linux/.git/commit
io_uring/kbuf: drop 'issue_flags' from io_put_kbuf(s)() arguments
authorJens Axboe <axboe@kernel.dk>
Thu, 21 Aug 2025 02:03:30 +0000 (20:03 -0600)
committerJens Axboe <axboe@kernel.dk>
Sun, 24 Aug 2025 17:41:11 +0000 (11:41 -0600)
commit5e73b402cbbea51bcab90fc5ee6c6d06af76ae1b
tree0d7009b27e61cd99fdbdf9bbfd609f142b5bd294
parentab3ea6eac5f45669b091309f592c4ea324003053
io_uring/kbuf: drop 'issue_flags' from io_put_kbuf(s)() arguments

Picking multiple buffers always requires the ring lock to be held across
the operation, so there's no need to pass in the issue_flags to
io_put_kbufs(). On the single buffer side, if the initial picking of a
ring buffer was unlocked, then it will have been committed already. For
legacy buffers, no locking is required, as they will simply be freed.

Link: https://lore.kernel.org/r/20250821020750.598432-3-axboe@kernel.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c
io_uring/kbuf.h
io_uring/net.c
io_uring/rw.c