Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1221031pxb; Fri, 10 Sep 2021 00:29:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyLN4Ru+DyLawmg0ITGag+9NUGmLvC48rgVopJ/jwFFD1jr9Ib0PLnIUJ9sXdT55Ec0Ny1 X-Received: by 2002:a17:906:b052:: with SMTP id bj18mr8195558ejb.55.1631258989176; Fri, 10 Sep 2021 00:29:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631258989; cv=none; d=google.com; s=arc-20160816; b=ZWzCzNfbR/PvXX7OoYkIOutcCPdl2wyBk+HeVxIyI/Rt99tmlES7bU1h/FjoBZe/lD +eCJ1StMEfG7wVN041jyPpEyKNs4TxUkeNv9jke/j8hVAKUf6bUOK1dGIR1++NMZVOo5 70z/X3Ex8kvKoUaRO8fCHm+JCa2HeuRGHew502VRsAakL3uV3VZUBfIbIQ+SkbWPo1Hv Pjjpc/jy0zSntYXpMHfa0i4A8ncRi7IMjrFM6xplHm25K4L1XQEWZkcaPppze7jJ46DL rtef9NT69pdb3zZEoOLDQZT7EVpNTUlLv2jY7GUZEr0DBylCScJN0TSvS8lqbMpmV8JH Zi0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=087+0CiZqvP07DsW5DSevAPmxX0P+Bu6ZoYX2WEyOJQ=; b=E20c0MSSERSam4+Wvls/JV2aOIN5cQGxnMom7lWYgGG3U7hH1IQQ3w3aQwMBRcv6jD vMFBxuQQVzOcbECutyhclQaEAul4fwUaNu/Vb+E+D4FOqRAJ2cG0EArXK0bj34MxvJQI yGToxbuzrCYMyfz+pgBLaywERCIkwfpUt1OTOuvhKeQ35l9RpJjim0VQTHcQNxmLlNXS ua2puWr97mkkjcQx7wmtrv1vYuJFimYZWblX+n4LKZYPVVqf6Y7B2EQZcJX6Fe/9XDS3 NzCX9iZIbnmb4GNi6+N98isKI0EHD6anPS+QpdjJtMm51lIPypBAsjjJMyI58IyJwuMx F1Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="Ik/NbsR1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb13si3653840edb.271.2021.09.10.00.29.23; Fri, 10 Sep 2021 00:29:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="Ik/NbsR1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231384AbhIJH1d (ORCPT + 99 others); Fri, 10 Sep 2021 03:27:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231290AbhIJH13 (ORCPT ); Fri, 10 Sep 2021 03:27:29 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 862FAC061574; Fri, 10 Sep 2021 00:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=087+0CiZqvP07DsW5DSevAPmxX0P+Bu6ZoYX2WEyOJQ=; b=Ik/NbsR162FqLJapnUR/sS8UKy nZsQzTiixipnJnpCTwF1/o3Py4Phj2l/15kz31oxyk0L5dXx6orfQv3hChQpUN5b8GDK3671W7vUO acBpWMQb6GNywBqMIpk84LeLKYiMYjr8Yt4QQ5iRQpktx6mFnEA5lzoOyUje88bqRP3wAZWFZSsxk tLxmEvjTbAFm3GEtoV6AT6euR3S6XjLvRYtcqvH3B2H8ig6IO5dmbxnpvnhei0pPVcekr5pQ14r5v y7Sx/MUn+A3UalVcwDOGV80URjJOxnRosjSO1YHOQB4Z9OJy1MK8JTqi6xEGHe6gs2gT/b45Wxi2E aCK0Wcmg==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mOatG-00AmTN-Ld; Fri, 10 Sep 2021 07:24:19 +0000 Date: Fri, 10 Sep 2021 08:24:02 +0100 From: Christoph Hellwig To: Linus Torvalds Cc: Christoph Hellwig , Andreas Gruenbacher , Alexander Viro , "Darrick J. Wong" , Jan Kara , Matthew Wilcox , cluster-devel , linux-fsdevel , Linux Kernel Mailing List , ocfs2-devel@oss.oracle.com Subject: Re: [PATCH v7 17/19] gup: Introduce FOLL_NOFAULT flag to disable page faults Message-ID: References: <20210827164926.1726765-1-agruenba@redhat.com> <20210827164926.1726765-18-agruenba@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 09, 2021 at 10:17:14AM -0700, Linus Torvalds wrote: > So I think we should treat FOLL_FAST_ONLY as a special "internal to > gup.c" flag, and perhaps not really compare it to the new > FOLL_NOFAULT. > > In fact, maybe we could even just make FOLL_FAST_ONLY be the high bit, > and not expose it in and make it entirely private as a > name in gup.c. There are quite a few bits like that. I've been wanting to make them private for 5.16.