Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp179038imj; Thu, 14 Feb 2019 18:04:06 -0800 (PST) X-Google-Smtp-Source: AHgI3IaSLZgjgZ/SbBvOJRrZFQluypPJEgJc8mfcQSdoVuewGewV297dEB1gh1MfXVxnIBNZp/e8 X-Received: by 2002:a17:902:112c:: with SMTP id d41mr7511299pla.177.1550196246878; Thu, 14 Feb 2019 18:04:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550196246; cv=none; d=google.com; s=arc-20160816; b=YDz56LvGecaWKP/keS4oYN9llrbhWkve2q8vXxGQXBdUTZ6/thl8XGm8MVA3Y6Nmzf 7Adtm+DigpOqVIpPBL66RVCgz2qwc1F8BUiJpwKJC1kgEtbNVSN1eEPbPVFCV5m2AzqM pmTpTSbcUwR2IdSDWcPG0I6BNjticXSxOY6YrnRFBoiRswAltQZ/pCPKUgjnyE7VREsP 3I1V/PpogQOseIsd1pfgcVwY6c3lvXuYHv2OKKpeWccoCQd4vD2OKbFurWU+PB91+PUv 5VvfEo/LSBJJBD3XLCbAp2qMjnRLgzd6SWc0oFmKhFznbPqoGWbCi2tu6LeebPuEhdOx 9BMg== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=+2H3AX7eqaOQjh30SPo5OwASSGWoi31JJos3jyVddL4=; b=TEK0pT0QcrIiudVywDTBU2fulAuK9YEjsNgBwZtTKnwG31mOLcroXSdD3bXh338Key 3Doh2ICJUwWScX7tB4F6Ta+rGPHWjDdf/GWekKbCGCVA7C82GwUQliJ5g4LommFNYpc2 x8FTewOzRX1X5LFECI/OlnHhcArl2zGUUhXd69BSvc9tcjyDMbGBSqs5FPXhuPvLPhFP HnU6bJTj8CpU5WKlmydJSlBJOI45urfuQ3LQWYvqkMqTQz61veq7fnnsgT7rwhIipf42 qslKH+PEYrp/ryhtJg3lyutJdtP9lJ/kzd85FslG6kKNgxWUGJz1WP4CPuwDE5F0r6+c Vo5Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o3si3987242pgq.139.2019.02.14.18.03.50; Thu, 14 Feb 2019 18:04:06 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405702AbfBNTKR (ORCPT + 99 others); Thu, 14 Feb 2019 14:10:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55684 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388100AbfBNTKR (ORCPT ); Thu, 14 Feb 2019 14:10:17 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C8A4A25EC9; Thu, 14 Feb 2019 19:10:16 +0000 (UTC) Received: from redhat.com (unknown [10.20.6.236]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DE82260A9C; Thu, 14 Feb 2019 19:10:15 +0000 (UTC) Date: Thu, 14 Feb 2019 14:10:14 -0500 From: Jerome Glisse To: Dan Williams Cc: 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: <20190214191013.GA3420@redhat.com> References: <20190214134622.GG4525@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 14 Feb 2019 19:10:16 +0000 (UTC) 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 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. Cheers, J?r?me