On 4/23/20 2:19 AM, Josh Triplett wrote: > What would it take for io_uring to support mmap, mprotect, and munmap > operations? Not very much, wiring up something like madvise as an example: https://git.kernel.dk/cgit/linux-block/commit/?id=c1ca757bd6f4632c510714631ddcc2d13030fe1e > What would it take to process a batch of such operations efficiently > without repeatedly poking mmap_sem and such? Probably just a bit of refactoring, to enable calling the needed helpers with the mmap_sem already held. -- Jens Axboe