]> Gentwo Git Trees - linux/.git/commit
io_uring: use no mmap safe region helpers on resizing
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 16 Oct 2025 13:23:19 +0000 (14:23 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 20 Oct 2025 16:37:56 +0000 (10:37 -0600)
commit4c53e392a194f2bb37403a5b9bcf8e77401234cc
tree3cfde25de7099e70f13848057164c5133b27c112
parent284306f6e6045e3f7b932914d1368df90033e87e
io_uring: use no mmap safe region helpers on resizing

io_create_region_mmap_safe() is only needed when the created region is
exposed to userspace code via mmap. io_register_resize_rings() creates
them locally on stack, so the no mmap_safe version of the helper is
enough.

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/register.c