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=-3.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT 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 A4A04C2BA1E for ; Sat, 4 Apr 2020 09:41:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7286F20739 for ; Sat, 4 Apr 2020 09:41:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="PELXH5ny" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725837AbgDDJlU (ORCPT ); Sat, 4 Apr 2020 05:41:20 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:37190 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbgDDJlU (ORCPT ); Sat, 4 Apr 2020 05:41:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=WdsCUkqz+ZpftO7Mf21Mzxh3783sco48fV7R9K5+cSI=; b=PELXH5ny0M3kB+GT2d8Pd5dD9q 8eanzcnxkv+aCZo7xU0MTLzbvHbFLRHyVQouUh6JEjIJaO0V5GxWO92Ywe09m95JPqXzd7HiGKqlm jW2BNwUQ2BtPIZ5kE6znphfh0jXoXYAcstagyulmremdMh291CUui94WRBcUPNWOAdQzqn5nfvSp9 wzb7CZc9Qjt0wrAkoz7EHRrJOG0f0ZGg3YNyhb6HyaGU8uJKs2EX+nSZPB8n0IXDvXq/eW66dDriv z9PXCQgcdAm8Gv8jY0EKvfNz1aM4G5PN1Z1U6hgvGS5PaLbNtEoMK6qUpnowB9MtGYPkdq0+1JT6U CwulSteA==; Received: from [2001:4bb8:180:7914:2ca6:9476:bbfa:a4d0] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jKfIW-0002cl-88; Sat, 04 Apr 2020 09:41:04 +0000 From: Christoph Hellwig To: Linus Torvalds , Andrew Morton Cc: Al Viro , Felix Kuehling , Alex Deucher , Zhenyu Wang , Zhi Wang , Felipe Balbi , "Michael S. Tsirkin" , Jason Wang , Jens Axboe , 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 Subject: improve use_mm / unuse_mm Date: Sat, 4 Apr 2020 11:40:55 +0200 Message-Id: <20200404094101.672954-1-hch@lst.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: io-uring-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org 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.