Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1932418imu; Sat, 8 Dec 2018 10:14:01 -0800 (PST) X-Google-Smtp-Source: AFSGD/VrZi7dPJpTx7P3WS/Sa3KYE+JDxNPCukQuuQufGeZb1MRGs04THCDy78XrLiRhTgAQwt+M X-Received: by 2002:a17:902:690c:: with SMTP id j12mr6392537plk.206.1544292841411; Sat, 08 Dec 2018 10:14:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544292841; cv=none; d=google.com; s=arc-20160816; b=s8DEds+TdbdJ8wYt50zPfuFaIAlropy9J4I4NZAIULYvcz9Vj6eudPy6SmtK5uHK8N /6Ci3t9uS2jHx10dmy9qSNIE/qx1r+ytxBIlKeJz6GYPtWpeDuluOJllrqnDoe7C4raS HCoSzLyHQkvSYXQZmScoceLUNXfsUiJPeYiG/CIPpRypJnNJFBNtF5+Ox0nvHDq80jPh mbp7bZBr9kqxiqjD1A8zdp6j9gWSkZxa0dkIknkIsh6GNVpZs7+ivip0oycBC0F6cJzk R0TG2bq5PeLWgudHb+YbHvLz/AMVM3d/BpxUnfAetFlUy5sMpars57ek3tteodfaTsqO lfSg== 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=xJEBp/3asiHVeZps7v/zV1QboJYOn6XLUjrWKYUW3XE=; b=Z1KTMaQMy7o8aNgaDSoh+v2OKKlhcyqlrWQRG4omYhRp3bFJ0FyF+awH9WgLK4UAkX N+nW5qly+v4joYdYIQaGhC4Xc9HNFgFA5Y40HOPSN91GhKUarXcjwMfDPsPybCDqQL6K HAqx1m7VyWTFHXJ/3S0CKdOX3rEilyLyX+89+Xj9Jx8p0zT1veF+GNOHS75mRQbr+GO5 8HxH8aUCmgQ+yjRO5GjKpuqtRJd5VsvwRlb0Cw3hLggwz4za1t9t2t7SpLGn2JCRcHtH 8OQUyjzHTPZqSeU0dhOLiI0JGTXqq3JWUZHjBXvA8nqDzCAO+HbiK9+bnu7T0Tq3WElj f2nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=BBW4Oyv+; 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 f15si5702580plr.144.2018.12.08.10.13.46; Sat, 08 Dec 2018 10:14:01 -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=BBW4Oyv+; 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 S1726211AbeLHSNL (ORCPT + 99 others); Sat, 8 Dec 2018 13:13:11 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:48162 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726142AbeLHSNL (ORCPT ); Sat, 8 Dec 2018 13:13:11 -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=xJEBp/3asiHVeZps7v/zV1QboJYOn6XLUjrWKYUW3XE=; b=BBW4Oyv+pinFAiV/fYKMbsdlv vCGwnzOHMuWRTFHYh8EgYfkACZoJx0cvPifMz7AZPa6tSTl02gvzyCDQzcHhLU6Gpaf1K/TngOUVC 1N946RqCYEUAatBvDuBzRqOBOshBQB+v28xnYBcTIpmpiTHSPm7VCyPNZC9W65CAde8XJ2Fpq00bt e0iBmhuCjuUvYQN+AGPrt9+cBzfTMFpB/WAP2qgSK+wivjv/FRBx2RV0nR7ANEPzGfZOZH2MV8BXU hmU+Q8moa7QUpSoFs512IMObs9PpRr4f05p7yRiP23xCCRQYyj0UxotFIzhWiY8SgXvNO7KrwQr/h 5UYP0D2Cg==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gVh63-0003Pd-2C; Sat, 08 Dec 2018 18:12:59 +0000 Date: Sat, 8 Dec 2018 10:12:58 -0800 From: Christoph Hellwig To: Dan Williams Cc: Christoph Hellwig , =?iso-8859-1?B?Suly9G1l?= Glisse , John Hubbard , Matthew Wilcox , John Hubbard , Andrew Morton , Linux MM , Jan Kara , tom@talpey.com, Al Viro , benve@cisco.com, Christopher Lameter , "Dalessandro, Dennis" , Doug Ledford , Jason Gunthorpe , Michal Hocko , Mike Marciniszyn , rcampbell@nvidia.com, Linux Kernel Mailing List , linux-fsdevel Subject: Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions Message-ID: <20181208181258.GA13075@infradead.org> References: <20181205011519.GV10377@bombadil.infradead.org> <20181205014441.GA3045@redhat.com> <59ca5c4b-fd5b-1fc6-f891-c7986d91908e@nvidia.com> <7b4733be-13d3-c790-ff1b-ac51b505e9a6@nvidia.com> <20181207191620.GD3293@redhat.com> <3c4d46c0-aced-f96f-1bf3-725d02f11b60@nvidia.com> <20181208163353.GA2952@redhat.com> <20181208164825.GA26154@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Sat, Dec 08, 2018 at 10:09:26AM -0800, Dan Williams wrote: > Another fix that may put pressure 'struct page' is resolving the > untenable situation of dax being incompatible with reflink, i.e. > reflink currently requires page-cache pages. Dave has talked about > silently establishing page-cache entries when a dax-page is cow'd for > reflink, but I wonder if we could go the other way and introduce the > mechanism of a page belonging to multiple mappings simultaneously and > managed by the filesystem. FYI, I had a a prototype for DAX + reflink that didn't require the page cache, although it badly reimplemented parts of it. But that was a long time ago, before we started requiring struct page for the DAX memory.