Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7689277ybi; Wed, 5 Jun 2019 23:19:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqzwCi2ZPgAHbpZ505SHBWIrLssaIfDGde5aPWLob4osUIhLT7koQnSUw7mfuafl5NFsbvT3 X-Received: by 2002:a63:231c:: with SMTP id j28mr1813188pgj.430.1559801972512; Wed, 05 Jun 2019 23:19:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559801972; cv=none; d=google.com; s=arc-20160816; b=pGG9WS5udUFDCYB30Iees/dLWqk7MgonmQYqV1unmc1fmbeQxmZgHZ2JFkGHfVXztA tFfAH1k96A7rS6dbmLB+CHOrBhln4TZCEWSh8dbFoSKOoyLshjMghiQ4A6cFJ/+tjy6M WUljAaERfK8FLauu7C+4R8ecYXiPWtlTIKHm5Kv1k/QH0KT5fBbgrnmTFdHnOEMt++JP XwKUvx5tBsAvt9128wt+45pljPHoY3kC/8UDzQy1KW/ixIIH3VaX71pie/iLWRhewMs/ DbAlRewWr/sfPmsRP/YdICJhzh3dJ2+6NUC//CIoSY6AmKdAzgd7kf5hDXXRm7+jtEaO UyBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=U8rF1uP19dnET207DcY9H/fsoaYvyqbT8DVHn5K5oRM=; b=nsI1u2tqizKP6P/uL8YrA6F/noVbmGjliAdOLiPkRhmZ5KlCHnagD/tx+L8+UXBYkh iEdqrRj7LAbHcKAcmn0cH6lZ5IVJgKSZsGlc9S3+7hrmG782JsCWgKjZ7i3W6TjKzB/I LBYeFxB02dP76xRk3n8I7EV2AIQrbYTT0bCldC2lhs6k+SkiV+NWyuyFWY9Wry8qF98Z EhdrPjg3R26rce1jMHTXpdgX7vZf7BODDnvXuqP8j7mR0OfrVJgqiu7KkIdHI5mQ7Apz 5Yb2UCtGyNWMQVaHKt6zhkkJZ1D9OShY0emAjUjHop6LQr05ysFy0YXyK5DNY7M3U81W qK9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=hh3vfV36; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s6si1115493pjq.43.2019.06.05.23.19.08; Wed, 05 Jun 2019 23:19:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=hh3vfV36; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725766AbfFFGSZ (ORCPT + 99 others); Thu, 6 Jun 2019 02:18:25 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:44600 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725267AbfFFGSZ (ORCPT ); Thu, 6 Jun 2019 02:18:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=U8rF1uP19dnET207DcY9H/fsoaYvyqbT8DVHn5K5oRM=; b=hh3vfV36YrLiF3AZvb2T4/Qsm ZGpgeScpxKnNf0aS2baD3ki47trw/uHctB3wKBpv6V6SbCMpk2PfbKUk/5XgM8HNDjclepJ9Zdbz6 2GcqhtFfRtwgOlRsLz0gTHbH/QD8c0RD1Nwv73lkSzrx4ZW4CsWVtPnTSaYKb7q2DM4NJWtdmuwyk Ib935aW8MHP3OauCGnonYIxkH5L3VSyJFRXG0U2YAfTuXHF11OiwL/C6RfAmS9J4JPPN67De362rW nJke29YpqUQ+h0Q/HmV6zGVwwZQCpJPnOD1sInPHpqtie3EXgVS+P5THX1FahoL367+4HTT4+qz1H qcJ4t2xpQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1hYljA-0005QG-0s; Thu, 06 Jun 2019 06:18:20 +0000 Date: Wed, 5 Jun 2019 23:18:19 -0700 From: Christoph Hellwig To: ira.weiny@intel.com Cc: Dan Williams , Jan Kara , Theodore Ts'o , Jeff Layton , Dave Chinner , Matthew Wilcox , linux-xfs@vger.kernel.org, Andrew Morton , John Hubbard , =?iso-8859-1?B?Suly9G1l?= Glisse , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org, linux-ext4@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH RFC 03/10] mm/gup: Pass flags down to __gup_device_huge* calls Message-ID: <20190606061819.GA20520@infradead.org> References: <20190606014544.8339-1-ira.weiny@intel.com> <20190606014544.8339-4-ira.weiny@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190606014544.8339-4-ira.weiny@intel.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Jun 05, 2019 at 06:45:36PM -0700, ira.weiny@intel.com wrote: > From: Ira Weiny > > In order to support checking for a layout lease on a FS DAX inode these > calls need to know if FOLL_LONGTERM was specified. > > Prepare for this with this patch. The GUP fast argument passing is a mess. That is why I've come up with this as part of the (not ready) get_user_pages_fast_bvec implementation: http://git.infradead.org/users/hch/misc.git/commitdiff/c3d019802dbde5a4cc4160e7ec8ccba479b19f97