Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5338992ybi; Wed, 12 Jun 2019 00:30:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGGPr0Qia+kmRKA5gy38ODA0yZDpU3yaDuYuLkqHdslwk3g6qNZ38Kjcu0ieHzahLEP0Fw X-Received: by 2002:a17:902:6902:: with SMTP id j2mr7902896plk.321.1560324651900; Wed, 12 Jun 2019 00:30:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560324651; cv=none; d=google.com; s=arc-20160816; b=VPW0OijaaCr8knxIb5f65s+s19Ps14p6t7zvy67DdJ56z0cisXL6HC0ZKd2r4NWD/i Qp+2vcU9DV2IQ71GcOOlZ6/+QObE6RtYGRGEgytPtZohp7CZoPUY71Njg05ZfocazNou 3akiRsQpCg43PFRoyqWdXHmM4rx2hX72OcwHI1P1/OqDHd+FIjlC3s2WoYVsrehcn3q/ 6XfFlzbRsPCKG6/WMXGyBWSTKvptp9drG4paNukCwOg4alAq1hyDDdPkeWIByaAqWK/3 ajtJUdvQjcIpyPNrdAkUrlpM8yvPdWjUG8fIhwPrpAOX9UZC9z8O4CuYWAKLv8vpOiBK paNA== 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=e3TEzE60VRj/MS8YEEehOOQckYotYtM00jSjKCi8/jI=; b=taidnZZ4p6L6g+cpv6+LYu09LOycxVK2BVOlEJfnVr2HhZ1ORVwPRbfQsT3cz+hMZs UQv744l/E8knMnkBQX1VN3w68tCOxuqFU8W2nUkOEfSN4nvHNkJUsUa6wiYCmZM7L7yD I6FK+OQHjiK7+vsgG1R2uOO+2S2wOy+D1fZO8R4ROCY7Z0x5I27ljbJgb4ZtxGj5eEpv shSUugfyBFEIH0ewtOYI4ig8P+Af8n7tGJtW7FpIJWyazLm66fAZXHqa0Rm/e1DsVxyr tLYo3MkL/Le2emZ9/7ePRqBUEJJ3JndQkoxH5JLcS6IIk4Nw1erYSmM1XPqISilv6Q3K PvXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=MTtnxOj8; 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 j17si15430876pfr.13.2019.06.12.00.30.34; Wed, 12 Jun 2019 00:30:51 -0700 (PDT) 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=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=MTtnxOj8; 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 S2406572AbfFLCHw (ORCPT + 99 others); Tue, 11 Jun 2019 22:07:52 -0400 Received: from mail-ed1-f53.google.com ([209.85.208.53]:41790 "EHLO mail-ed1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404880AbfFLCHv (ORCPT ); Tue, 11 Jun 2019 22:07:51 -0400 Received: by mail-ed1-f53.google.com with SMTP id p15so23055997eds.8 for ; Tue, 11 Jun 2019 19:07:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov-name.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=e3TEzE60VRj/MS8YEEehOOQckYotYtM00jSjKCi8/jI=; b=MTtnxOj8b/+TTYuM6NNkobIsRNOElKsc/8BqXi3Y/+dNGP7+MZ2IGVtBb9IvQn+OsO vW74urYy7EzW8nl+nFudq/JabGlvyX3vo/5Hnrim+qNbyvWWoh95wiXSZNopPL+oXF/O eD2Pnlv4mFpK9NfsXHt421c7OE1+1LjF2t546fw5c+ALo6qKpb5Up3nS2VgDyXsEYmXu 0EFS1eXIH10mQztjtBB9u+208ddm8dhgPx+iDuc40U2BU6O0uLBWML0c78uHFi1gvuAk cpkYbNvZV5mNIS/64Z1tTp9WdsscxLL6ysWN85wbls6CM1baoMoKiseSgh4yK5TDDiHE ByZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=e3TEzE60VRj/MS8YEEehOOQckYotYtM00jSjKCi8/jI=; b=Va40DPM1MtgQKNm72Ti0VdMU3RieGVeBCTPdcw4W9TwtANH3AbuwzVT8VxYg10s1Sn QZHSXClrQyWIn6KsL/pJMNOncwm1p7L0Y9TnL65NTEkwQcNkS/m1oQDuxV0JIXt4nEKQ WvspL2IjYXt92ChVTZGOq46N/9WTwcoGtKJRyV2DX6FkdJjqbtSHuMt7WK5qqWWFFvR3 kJOUnpdouo9suCuqKRgJOCeMv2PDGuTX7wVpWwcFN61nDaVsz6pTkc1yOjxxDUHXWzmP gCTMegKZQKhxk/j070vjSae6uGwDhlPnCyr5+30MQnxXh1byCD7n08/lRIDQvefuhDvg Ra7A== X-Gm-Message-State: APjAAAVQ06z+gKQpDCWYKaHHLdaKrIM9QuJO6uoglDrWbQH1T341POZR FJ6AbWsRyfwXHi7jJYr1DD6jIw== X-Received: by 2002:a17:906:7d4e:: with SMTP id l14mr19826791ejp.188.1560305270074; Tue, 11 Jun 2019 19:07:50 -0700 (PDT) Received: from box.localdomain ([86.57.175.117]) by smtp.gmail.com with ESMTPSA id v18sm3176634edq.80.2019.06.11.19.07.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jun 2019 19:07:49 -0700 (PDT) Received: by box.localdomain (Postfix, from userid 1000) id ECA1F10081B; Wed, 12 Jun 2019 05:07:49 +0300 (+03) Date: Wed, 12 Jun 2019 05:07:49 +0300 From: "Kirill A. Shutemov" To: Larry Bassel Cc: mike.kravetz@oracle.com, willy@infradead.org, dan.j.williams@intel.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org Subject: Re: [PATCH, RFC 2/2] Implement sharing/unsharing of PMDs for FS/DAX Message-ID: <20190612020749.sjpuquzxrprkalfy@box> References: <1557417933-15701-1-git-send-email-larry.bassel@oracle.com> <1557417933-15701-3-git-send-email-larry.bassel@oracle.com> <20190514130147.2pk2xx32aiomm57b@box> <20190524160711.GF19025@ubuette> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190524160711.GF19025@ubuette> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 24, 2019 at 09:07:11AM -0700, Larry Bassel wrote: > Again, I don't think this can happen in DAX. The only sharing allowed > is for FS/DAX/2MiB pagesize. Hm. I still don't follow. How do you guarantee that DAX actually allocated continues space for the file on backing storage and you can map it with PMD page? I believe you don't have such guarantee. -- Kirill A. Shutemov