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

io_uring: expose single mmap capability



After commit 75b28aff we can get by with just a single mmap to
map both the sq and cq ring. However, userspace doesn't know that.

Add a features variable to io_uring_params, and notify userspace
that the kernel has this ability. This can then be used in liburing
(or in applications directly) to avoid the second mmap.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 75b28aff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment