Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp691030imp; Wed, 20 Feb 2019 07:23:32 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib0Mbwp40HZwCV9ISfMJWx48ULjgD5ZPAvG0kCQTSGc7TePpGJt6oF2JvdQ3ddBvKWvVexp X-Received: by 2002:a63:d814:: with SMTP id b20mr30083345pgh.312.1550676212857; Wed, 20 Feb 2019 07:23:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550676212; cv=none; d=google.com; s=arc-20160816; b=xH5RiYMuRyUbbnFgFhMdYbY1eVd6ocMXtQQHyUZT/s3UI7FWDhmzIeYVvK6khSY9xL sON14cWAZTtbQsbBGqqEnAmwDHBv02XlrgIsrrr8cm99KeuRgtidDkzmDY2F4+YqhwtZ Qxk7kr76Ke3AjrzDq7FGQ7UyKoZdKXrDkH0V3c0ug+PbOLhpm3D0X4VdxLFM+2N2VyoG LBJRzW7yG22yDs14ZbFpDcfRXiOVyQaj64k+Ri302/oUCuyrfSUqkQHX2ErG8Qw4+xis BaTats+bq7qDT2yuF5WbJGK9gGEKF6xEcPp7ADlaEN81Mx22+KlmGQHKsIyZDKgjfasc sFeg== 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=EFeifr+GfaKqX300Um+mjNzD3Rm1S0esXSt0B9w2YGY=; b=fplieXRtVDM2XtMZFnsI1QSjSlRxEvO973lyFsXMccIBe7spd8/aZZ8g0o8a9fFUf+ LPNN8yD4x93/M1xQGT32F8geeERTe4IH/uYfn284Z0daNkZje0glS7g2VI7pnAxCDW1L abOAtys3g4fP67ljAuoz3E58uYof7oC+wq/kvd7x1HKVgpAY++uN70BAKKIiBpqh9L/z Qq+NIKiup6QXpUBLMznzqEtvdTLBsg8B+3JZ3fgGwLYv7kcwdgeu1hPPNu1YGad5k0He MBrlrLRRwpCasDHnHQpbmfT7JwuN64FrUuXumsYzQCNEvLLCObDxs8sWMFenjTjwxJ1G 8buQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=WIGucUyB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 f20si20031878plr.419.2019.02.20.07.23.16; Wed, 20 Feb 2019 07:23:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=WIGucUyB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727509AbfBTPU6 (ORCPT + 99 others); Wed, 20 Feb 2019 10:20:58 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:37016 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726224AbfBTPU5 (ORCPT ); Wed, 20 Feb 2019 10:20:57 -0500 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=EFeifr+GfaKqX300Um+mjNzD3Rm1S0esXSt0B9w2YGY=; b=WIGucUyBjsGVWuL2jvGEP36J7 wAIM66Nws+XW3bCRdl88lmFalND8Uqloj60hjuL97/UwAqCvwAh/q71HAghQoAiJxUBKDV4NeFs+P HVl2PIkFym1snOkp7H0Bh7Iwy3HNth61esVAhkupONHYlLPFOyNBcP6ioDPUrT9m8HmSlz0Cy7brW T3CThrxzbkECUC+LLP/75uJ0vWxiD0QDLR28VwL+hwhNu5iUxu99KR6fznvbiQWa2uKqaDKSSWHwd 5uLNPR4nLxuoKU8lEnZ+ly+ElHLeYkLQbpv5lMqHn24WHv224i/dDaYfT4EtkA5c0+hIF01oAUZ5T N7tedkzRQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gwTek-00048O-OH; Wed, 20 Feb 2019 15:19:30 +0000 Date: Wed, 20 Feb 2019 07:19:30 -0800 From: Christoph Hellwig To: ira.weiny@intel.com Cc: John Hubbard , Andrew Morton , Michal Hocko , "Kirill A. Shutemov" , Peter Zijlstra , Jason Gunthorpe , Benjamin Herrenschmidt , Paul Mackerras , "David S. Miller" , Martin Schwidefsky , Heiko Carstens , Rich Felker , Yoshinori Sato , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Ralf Baechle , Paul Burton , James Hogan , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, linux-fpga@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-rdma@vger.kernel.org, linux-media@vger.kernel.org, linux-scsi@vger.kernel.org, devel@driverdev.osuosl.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-fbdev@vger.kernel.org, xen-devel@lists.xenproject.org, devel@lists.orangefs.org, ceph-devel@vger.kernel.org, rds-devel@oss.oracle.com Subject: Re: [RESEND PATCH 0/7] Add FOLL_LONGTERM to GUP fast and use it Message-ID: <20190220151930.GB11695@infradead.org> References: <20190220053040.10831-1-ira.weiny@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190220053040.10831-1-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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 19, 2019 at 09:30:33PM -0800, ira.weiny@intel.com wrote: > From: Ira Weiny > > Resending these as I had only 1 minor comment which I believe we have covered > in this series. I was anticipating these going through the mm tree as they > depend on a cleanup patch there and the IB changes are very minor. But they > could just as well go through the IB tree. > > NOTE: This series depends on my clean up patch to remove the write parameter > from gup_fast_permitted()[1] > > HFI1, qib, and mthca, use get_user_pages_fast() due to it performance > advantages. These pages can be held for a significant time. But > get_user_pages_fast() does not protect against mapping of FS DAX pages. This I don't get - if you do lock down long term mappings performance of the actual get_user_pages call shouldn't matter to start with. What do I miss?