commit | ac90f249e15cd2a850daa9e36e15f81ce1ff6550 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Sep 06 10:26:21 2019 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Sep 06 10:26:21 2019 -0600 |
tree | ae3942ae20234c0fdc5265d19a53fb865486a552 | |
parent | 75b28affdd6aed1c68073ef53907c7bd822aff84 [diff] |
io_uring: expose single mmap capability After commit 75b28affdd6a 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: Jens Axboe <axboe@kernel.dk>