Skip to content
Commit 2c5aae12 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring/register: document io_register_resize_rings() shared mem usage



It can be a bit hard to tell which parts of io_register_resize_rings()
are operating on shared memory, and which ones are not. And anything
reading or writing to those regions should really use the read/write
once primitives.

Hence add those, ensuring sanity in how this memory is accessed, and
helping document the shared nature of it.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 8911798d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment