]> Gentwo Git Trees - linux/.git/commit
io_uring: fix unexpected placement on same size resizing
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 15 Oct 2025 12:10:31 +0000 (13:10 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 15 Oct 2025 14:01:38 +0000 (08:01 -0600)
commit437c23357d897f5b5b7d297c477da44b56654d46
treefd0cdce667850b99edf1f815834a6fde043ec485
parentbe7cab44ed099566c605a8dac686c3254db01b35
io_uring: fix unexpected placement on same size resizing

There might be many reasons why a user is resizing a ring, e.g. moving
to huge pages or for some memory compaction using IORING_SETUP_NO_MMAP.
Don't bypass resizing, the user will definitely be surprised seeing 0
while the rings weren't actually moved to a new place.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/register.c