Re: Multiple mmap/mprotect/munmap operations in a batch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux