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=-2.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 1A8ACC2D0EF for ; Fri, 17 Apr 2020 14:25:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E807A20857 for ; Fri, 17 Apr 2020 14:25:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20150623.gappssmtp.com header.i=@kernel-dk.20150623.gappssmtp.com header.b="gKw5eoYU" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726405AbgDQOZo (ORCPT ); Fri, 17 Apr 2020 10:25:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726036AbgDQOZo (ORCPT ); Fri, 17 Apr 2020 10:25:44 -0400 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2031BC061A0C for ; Fri, 17 Apr 2020 07:25:43 -0700 (PDT) Received: by mail-pg1-x535.google.com with SMTP id o185so645983pgo.3 for ; Fri, 17 Apr 2020 07:25:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=L6cWP5WK6ujku9y43wjaNC6S0VeElTh4yenPv8t29Ak=; b=gKw5eoYUIpd77RsZ9EA4/OBI5it3b4QtTk5w0WNiaVsQlhU0AvTC99Kwb6pyQrnZwb 8mkxqNjg6VEOZTZqnkLOebZlO/n/v5mMNjfkBB1cGO3Fx7O3pVDrmTfYyuyYufQ9ccR3 RtPWKLjDzCOGMUWt9saeSwmpszseuFa+iiXqlLA7QMz5NdgXvU//k288EsKe0YfAzi6u dvmxk+qgp7K7fE2PnVT7fvqSgeWduMN7B1pblLGgZqKs3H1NpzAxQ5FN/ffFSwvnE0Dr z0qCKxdTOrenMDSXdIXvCN19QGBDvsZe/1e/6pTgbuMcknn8YL4CeODkrzae32Dl8ywr FA6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=L6cWP5WK6ujku9y43wjaNC6S0VeElTh4yenPv8t29Ak=; b=fgWFvGO5AGp4iYEHKJiO9U2viyXJsZSemEoAN8nltIUsuepkUe8DLvqRX15yIJVeHT PNGeZtdAYe95BCPvxcns5MUkmdMYEkTTjOy87EepMXwVqQDBipEhYR5G2xFudFqn0/Ld 7abKkg042OuEMeQaxrbC2rlYHdFU42iWmjP76fRbEWCocjffOCIwUH5KhG8pklZE2FEq VZs2RAKwxbS/uQHTksDuCtlT48jNjeC53LiF87jZJSY6Z4jPX9HeeSwjxbwmV3kI9y7C GL5ayklWFEvwfHRqBWJYpWH9fsGxjG/MNaoMmy/vP+jAjQvh+DizY8+J4sh2sBzEKavb h/LQ== X-Gm-Message-State: AGi0PuYDpzUxiu1HY0sPOmvjfIY6zW8zZ+AFQascYKtSPIl42hhcXYnQ egBEWd1WCBdZAHFxjffSv4pcFQ== X-Google-Smtp-Source: APiQypLk3UKQ7IlVU68RBsk4YcfumTB0+HNr5I6KmasWP50lwGXPB60OmHhJAmy9VXUBKXWGkLn5iw== X-Received: by 2002:a63:1662:: with SMTP id 34mr3312317pgw.117.1587133542614; Fri, 17 Apr 2020 07:25:42 -0700 (PDT) Received: from [192.168.1.188] ([66.219.217.145]) by smtp.gmail.com with ESMTPSA id r18sm579944pfg.120.2020.04.17.07.25.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Apr 2020 07:25:41 -0700 (PDT) Subject: Re: improve use_mm / unuse_mm v2 To: Christoph Hellwig , Linus Torvalds , Andrew Morton Cc: Al Viro , Felix Kuehling , Alex Deucher , Zhenyu Wang , Zhi Wang , Felipe Balbi , "Michael S. Tsirkin" , Jason Wang , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-usb@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-fsdevel@vger.kernel.org, io-uring@vger.kernel.org, linux-mm@kvack.org References: <20200416053158.586887-1-hch@lst.de> From: Jens Axboe Message-ID: <8d314bc3-ea59-684d-2d34-20b152a36f4f@kernel.dk> Date: Fri, 17 Apr 2020 08:25:38 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200416053158.586887-1-hch@lst.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: io-uring-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On 4/15/20 11:31 PM, Christoph Hellwig wrote: > Hi all, > > this series improves the use_mm / unuse_mm interface by better > documenting the assumptions, and my taking the set_fs manipulations > spread over the callers into the core API. > > Changes since v1: > - drop a few patches > - fix a comment typo > - cover the newly merged use_mm/unuse_mm caller in vfio You can add my reviewed-by/tested-by to the patches, passes the io_uring regression tests. -- Jens Axboe