]> Gentwo Git Trees - linux/.git/commit
io_uring: use WRITE_ONCE for user shared memory
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 6 Nov 2025 12:58:19 +0000 (12:58 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 6 Nov 2025 23:25:18 +0000 (16:25 -0700)
commit93e197e524b14d185d011813b72773a1a49d932d
tree141ef68b02709dea884a8198cc682c91015cd2d0
parent75c299a917e4547dfe640ce7fd83c8a14d8409d0
io_uring: use WRITE_ONCE for user shared memory

IORING_SETUP_NO_MMAP rings remain user accessible even before the ctx
setup is finalised, so use WRITE_ONCE consistently when initialising
rings.

Fixes: 03d89a2de25bb ("io_uring: support for user allocated memory for rings/sqes")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c