]> Gentwo Git Trees - linux/.git/commit
io_uring/kbuf: use io_create_region for kbuf creation
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 16 Oct 2025 13:23:22 +0000 (14:23 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 20 Oct 2025 16:37:56 +0000 (10:37 -0600)
commitdec10a1ad1d5f9d46e7f6e7c8b414a805e00717c
tree2a07c0891e685536ad02450674d432cd88b7c4ea
parent6e9752977caa47c200f88d7df1ff114955a03bad
io_uring/kbuf: use io_create_region for kbuf creation

kbuf ring is published by io_buffer_add_list(), which correctly protects
with mmap_lock, there is no need to use io_create_region_mmap_safe()
before as the region is not yet exposed to the userspace via mmap.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/kbuf.c