Is there any restriction as to what calls shouldn't be covered with io_uring? I see the scope is growing over time. For example would directory operations be appropriate? Ed On Thu, 23 Apr 2020 at 11:13, Jens Axboe <axboe@xxxxxxxxx> wrote: > > 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 >