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

io_uring/kbuf: move pinning of provided buffer ring into helper



In preparation for allowing the kernel to allocate the provided buffer
rings and have the application mmap it instead, abstract out the
current method of pinning and mapping the user allocated ring.

No functional changes intended in this patch.

Acked-by: default avatarHelge Deller <deller@gmx.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent d808459b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment