Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp416374imj; Sat, 16 Feb 2019 03:20:13 -0800 (PST) X-Google-Smtp-Source: AHgI3IZRbMvZspuZCBOIgf4vBJKfgqEhntkHtdBLErgd2fgzESdZ8DcQoAyKYszyjZkozMkz5nQq X-Received: by 2002:a17:902:be15:: with SMTP id r21mr13049703pls.143.1550316013372; Sat, 16 Feb 2019 03:20:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550316013; cv=none; d=google.com; s=arc-20160816; b=J+Ky44FAjcbSI3blywoSvRet8fxkmMCGxbkquBXgDVrHweL8GD/ddxOCMxhfge3zhA gMI4ki6/9SHVl+Rnp6oRsWI6xogNnoJRGnGrK9ml1LIN+3+JjTo+jXf/lBM9yyFtlxmc 22/Vqj7U3bIkQ87UmAppxYTdLehS7uMa7cnE0GtZIqJSKSvQhOIO8y+tzdJbnv7mkeVa pMcyki9LxJJiR4T2D88t0d7jsN+3EYnI2cPP/QVV0kIrfAIklbLCrKshnwi7ZyQ558IK c9uz5rMydRqz9tzFJaKy0WHOj5FSmvgII6MGCZbv0v9+p15Frl2O2axETmTSK/XiSlPu gJaw== 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; bh=r2LgSOz1aqzemaVKZ5MQSecI+nH1CokEwqihtSKRgZA=; b=nVnjXhKxmTY5VQkMbfMQh46OkngdqV40IC3TwomC6yXpbQ6sTw1YU1RB4I6/BuUuzb whr9PLlDZJMG/DKV5SeyS1ZHWOCiCe/R2tIkkpdNjNRirXghJgDtOwaXHri8/o+sjjWd HY/fe8JkcrrCg3QpFGRgKb2Ntk4uIebdAygQm8LUkfvAXS/ohtaQCzxmUL1tMq5xaIij 3LWIZrQbYLR1AiWOZl9bvORyn4TneXc+hZJ5FpzXqmy91UpPFD2n360ZsdoEEfqoApEy ysdGRNJFB3q8f5ZJ97wccj7Djd0cEa4zd66QDpuOB/jzZ2dVoc6Pw07XYG31df39/blw 5q1w== ARC-Authentication-Results: i=1; mx.google.com; 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 w12si7708604pfn.95.2019.02.16.03.19.57; Sat, 16 Feb 2019 03:20:13 -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; 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 S1726417AbfBPFhR (ORCPT + 99 others); Sat, 16 Feb 2019 00:37:17 -0500 Received: from ipmail06.adl2.internode.on.net ([150.101.137.129]:43799 "EHLO ipmail06.adl2.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbfBPFhQ (ORCPT ); Sat, 16 Feb 2019 00:37:16 -0500 Received: from ppp59-167-129-252.static.internode.on.net (HELO dastard) ([59.167.129.252]) by ipmail06.adl2.internode.on.net with ESMTP; 16 Feb 2019 16:07:12 +1030 Received: from dave by dastard with local (Exim 4.80) (envelope-from ) id 1gusf1-0000Dw-Je; Sat, 16 Feb 2019 16:37:11 +1100 Date: Sat, 16 Feb 2019 16:37:11 +1100 From: Dave Chinner To: Dan Williams Cc: Matthew Wilcox , Jerome Glisse , Michal Hocko , lsf-pc@lists.linux-foundation.org, linux-xfs , linux-fsdevel , linux-ext4 , Linux Kernel Mailing List , linux-nvdimm Subject: Re: [Lsf-pc] [LSF/MM TOPIC] The end of the DAX experiment Message-ID: <20190216053711.GA14116@dastard> References: <20190214134622.GG4525@dhcp22.suse.cz> <20190214191013.GA3420@redhat.com> <20190214200840.GB12668@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 14, 2019 at 12:20:11PM -0800, Dan Williams wrote: > On Thu, Feb 14, 2019 at 12:09 PM Matthew Wilcox wrote: > > > > On Thu, Feb 14, 2019 at 11:31:24AM -0800, Dan Williams wrote: > > > On Thu, Feb 14, 2019 at 11:10 AM Jerome Glisse wrote: > > > > I am just again working on my struct page mapping patchset as well as > > > > the generic page write protection that sits on top. I hope to be able > > > > to post the v2 in couple weeks. You can always look at my posting last > > > > year to see more details. > > > > > > Yes, I have that in mind as one of the contenders. However, it's not > > > clear to me that its a suitable fit for filesystem-reflink. Others > > > have floated the 'page proxy' idea, so it would be good to discuss the > > > merits of the general approaches. > > > > ... and my preferred option of putting pfn entries in the page cache. > > Another option to include the discussion. > > > Or is that what you meant by "page proxy"? > > Page proxy would be an object that a filesystem could allocate to > point back to a single physical 'struct page *'. The proxy would > contain an override for page->index. Needs to override page->mapping, potentially the page flags, what happens when someone takes a gup reference to the proxy structure, etc? Besides, didn't we discuss all this last year? how about we start with a summary of all the options considered last year, the pros and cons, etc, and then go from there? Regurgitating everything we've already talked about last year doesn't seem particularly useful to me... Cheers, Dave. -- Dave Chinner david@fromorbit.com