From: Jens Axboe <[email protected]>
To: Josh Triplett <[email protected]>, [email protected]
Subject: Re: Multiple mmap/mprotect/munmap operations in a batch?
Date: Thu, 23 Apr 2020 09:11:53 -0600 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <20200423081918.GA172719@localhost>
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
next prev parent reply other threads:[~2020-04-23 15:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-23 8:19 Multiple mmap/mprotect/munmap operations in a batch? Josh Triplett
2020-04-23 15:11 ` Jens Axboe [this message]
2020-04-24 18:21 ` Ed Baunton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox