Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp183242imj; Thu, 14 Feb 2019 18:09:53 -0800 (PST) X-Google-Smtp-Source: AHgI3IaXfgQaTlDuDy+NParWYrQqdyI/wETyr973uIbBupv+J+sYmzfozaRtU5r7PRNlBxCJuhnV X-Received: by 2002:a62:4c5:: with SMTP id 188mr7423568pfe.130.1550196593041; Thu, 14 Feb 2019 18:09:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550196593; cv=none; d=google.com; s=arc-20160816; b=b4in7aS7Hny91yk/5pjum94jts6qOpDX2ee5EfHWWUSY9Ivg+MM+bfBEART85FdW6J AqGUePRxissmlUgJDAR1sA0B6Fna78blcMbWxCgHIQ1F0F7ZxEMKK8J9cn6160hdaKv+ nlBwqdFlReKD8RwvDxSyA+47efvynYQB4BrpAn7BAbt6/L2JF8Gh7hzOX4wywtvE0FSE qH4txeW1R48AVfUddtK8fFhOgEk0TLtqMtU7VIVpiJsfelpgn/X1RI4IKvtlXYkeGnvV 3YOsMTMxWFUcOhZXVyks9Oq5SE3zPcXTMDYlM/8thBX93SIYZ3kjZbhlfpxxbYt6MtnD 1q8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=6hh3SEckQg9xIoEEZdgKNbHG/nekuwU+MMr5nG44uRE=; b=JiVb2N0gEgyLpm7VDHY0eQE0ikKZAdbzKTExj0ckCb9365PGPqtT9P3WjhskPLLx/q vTtb0paH1tM3HmIjurUY2yHilnLgvyxLrUpKybX4XQHj+UwbIba8sdqxsVcTtDNn2TKj GbJo56yl8R/do5Scs0ma8pSKdoJiFRDDbVLZoJ6+H7yZzyzhkHoOlS7O/m8jj+oNF/gT BbmH9JNgP8kHHkGGJ+se5WdDsn1S1Gi4IBU0qc6M20wLxqoWnK5YCWX1s2q+D1hDHFqu bWiaXdTXI0nAUIZJufHY/VFdunfspAKDY0iLPk9I8Rr4i0LZie9oeP8s5vqcVQiar83R AriQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=Dgi7E24D; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t12si4092485plr.311.2019.02.14.18.09.37; Thu, 14 Feb 2019 18:09:53 -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=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=Dgi7E24D; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405903AbfBNTbh (ORCPT + 99 others); Thu, 14 Feb 2019 14:31:37 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:46682 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392011AbfBNTbg (ORCPT ); Thu, 14 Feb 2019 14:31:36 -0500 Received: by mail-ot1-f66.google.com with SMTP id w25so12429949otm.13 for ; Thu, 14 Feb 2019 11:31:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6hh3SEckQg9xIoEEZdgKNbHG/nekuwU+MMr5nG44uRE=; b=Dgi7E24DlYGDeKMhJfMg0JiqZl3yjddp15jEv2LJzNrwQ7d8hFMtXrmoa+1JMRRyaB PItFSZfsxkgmEh7z7L1aQ6Itd8sOPxca7+KsZiRnPjjyPls7G/9EDsU4HalW9OVs0vkW m9rV6hTdUObI/4LDAy1g45GIW1eK9vbmpeCnCVarn8nvT7T4jUq/wlrnnfMZnOKbpmA/ tgH5LKIFGb696c7XCdfK1UNc28p+i+wNw/5oeD/5Yg3ucME04xWUgOx4+AB+mQSL0q+l xZYk5YsBFIHaJtr8XnwDEj4M9T/bMDKHNCGyJKSVJ8ISraT5XassuQmSpT26WRVTZ5d1 Ffbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6hh3SEckQg9xIoEEZdgKNbHG/nekuwU+MMr5nG44uRE=; b=oLmk66unxbpILU9JiPprnlaOTIQsuR9tlKYupBrfGPLA12LxYBXu24e3cJlr4jLvMQ hFR5QY3Q6ryBL+1KzY7Xxnju5X+mkenqizRDUP4Az9d45JuuSLaxehF6Jzv9Xz+H9if3 0DWjqxmRehyIXaDiUbITrSJpR0mTDZfzpXcq72FByXTMMzN1+fMVHvTE0ha60ZGB5onZ rWC+cJxp8J6Y6RqJv1B0wkNLlFF0Mv9Uq5r4//i8QLtdDjSPfyce2ObvL35ZyFB2bwSn 0FTd3RB2TbjHSLnpf0IQKhcfsEPhT3WLIoE8t+GkAMO/QyXgy1+whkzL72uuEyhYE5aC 2BOw== X-Gm-Message-State: AHQUAubFd6rPXkMTkhZAqmA6ALqTnSYL30sSsoq631OZjFj0+TPlMPvP tTqDQ2na/dKt2YXxUbTQ+ufNhCPc0lv0Um0HqbrmQg== X-Received: by 2002:a05:6808:344:: with SMTP id j4mr3509094oie.149.1550172695679; Thu, 14 Feb 2019 11:31:35 -0800 (PST) MIME-Version: 1.0 References: <20190214134622.GG4525@dhcp22.suse.cz> <20190214191013.GA3420@redhat.com> In-Reply-To: <20190214191013.GA3420@redhat.com> From: Dan Williams Date: Thu, 14 Feb 2019 11:31:24 -0800 Message-ID: Subject: Re: [Lsf-pc] [LSF/MM TOPIC] The end of the DAX experiment To: Jerome Glisse Cc: Michal Hocko , lsf-pc@lists.linux-foundation.org, linux-xfs , linux-fsdevel , linux-ext4 , Linux Kernel Mailing List , linux-nvdimm Content-Type: text/plain; charset="UTF-8" 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 11:10 AM Jerome Glisse wrote: > > On Thu, Feb 14, 2019 at 10:25:07AM -0800, Dan Williams wrote: > > On Thu, Feb 14, 2019 at 5:46 AM Michal Hocko wrote: > > > > > > On Wed 06-02-19 13:12:59, Dan Williams wrote: > > > [...] > > > > * Userfaultfd for file-backed mappings and DAX > > > > > > I assume that other topics are meant to be FS track but this one is MM, > > > right? > > > > Yes, but I think it is the lowest priority of all the noted sub-topics > > in this proposal. The DAX-reflink discussion, where a given > > physical-page may need to be mapped into multiple inodes at different > > offsets, might be more fruitful to have as a joint discussion with MM. > > Note that my generic page write protection work can be use for that ie > having a single page correspond to multiple different mapping with also > different offset within each mapping. While in my patchset i only solve > the mapping aliasing issue, the index can be solve in much the same way > because same thinking apply. Namely that when you work on a file you > know the mapping and file offset and thus the index and when you work on > the vma you know the mapping and offset within the vma which translate > to offset within the file. They are only few places that do not have the > informations available and those do not care about it. > > 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.