From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2AF3CC2BA19 for ; Thu, 23 Apr 2020 08:19:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 11B79208E4 for ; Thu, 23 Apr 2020 08:19:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726541AbgDWITW (ORCPT ); Thu, 23 Apr 2020 04:19:22 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:35579 "EHLO relay7-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725913AbgDWITW (ORCPT ); Thu, 23 Apr 2020 04:19:22 -0400 X-Originating-IP: 50.39.163.217 Received: from localhost (50-39-163-217.bvtn.or.frontiernet.net [50.39.163.217]) (Authenticated sender: josh@joshtriplett.org) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 8A45820008 for ; Thu, 23 Apr 2020 08:19:20 +0000 (UTC) Date: Thu, 23 Apr 2020 01:19:18 -0700 From: Josh Triplett To: io-uring@vger.kernel.org Subject: Multiple mmap/mprotect/munmap operations in a batch? Message-ID: <20200423081918.GA172719@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: io-uring-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org What would it take for io_uring to support mmap, mprotect, and munmap operations? What would it take to process a batch of such operations efficiently without repeatedly poking mmap_sem and such?