Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1678569pxb; Fri, 27 Aug 2021 14:54:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6rZhgp0YNJMGeOFRD+ozpB56nv2anHZvOrZ6z4JbmgmgBhsrZO6OVLQGsAYZAVR5oCgpa X-Received: by 2002:a05:6402:254b:: with SMTP id l11mr12005491edb.268.1630101298235; Fri, 27 Aug 2021 14:54:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630101298; cv=none; d=google.com; s=arc-20160816; b=llFvtzsOR/Ocjo1yRVWmIktqrIMRcvFwcOtGZtSw5P27UZJwPotTpGGFRzOqyVqdvj 5CU4Lq8xsco8xcCwj1b/xB/rm3MwsbMIS/X7gHTxqx4XlSe0x5ZmtfovA5NzgFYHexH5 nEbMoogbWBOHbeLJTGPE0y/BvMbtjDPEx7w47GnhBU6N6W9aLXPaeKfZHUUjBH8wz/2W v/FA5XKGY9G6BFiZX0+CO5N6WZTYfwim6yRcs4kyfW4N7T+Ehv0Qay9Vg2NBOt3Znosv C2JAnE9c8oKyqewTPSItR2zBXOPxi/fVGul2UtuIMZyvZD+RKBkUblLPdbppYLyx7oq+ mXdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=exmd3Tm+ti+IOKUHee1T7QXq+ITy8fgTRi4FMxbqdY0=; b=oyLo/gem2El2T4xFdke6clRYFVlxjfmlRwSi+RhUNJKFUymf+RRodNVcV9m0xq10Sp wlZ3p9BubPTpv9QyBnkLX+XTLQFXmyBlBk/B28fi96Frjk83gu3xuusXXv2nxe2FaOix 0t0aA+JPTOY/ain3MlT2x/pGIZGom5SFemng4QnQBVfifoRWLHtOJ9PtdPu11drkecUv NGgpRjovqKNB6WCLrbbNECw9sSErOW+IlTX0dyMMBWc8N2PhCs5+rCMXu/cE4Xt5AA9y gZMxXCFl3re0wr/HxR8wg+SoYGX/TP065J1U/oZSxtFemWhv3R7hKb60oCdoDdXQHAiQ ts7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="qxvGOri/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s10si8694503edd.150.2021.08.27.14.54.33; Fri, 27 Aug 2021 14:54:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="qxvGOri/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232023AbhH0Vwq (ORCPT + 99 others); Fri, 27 Aug 2021 17:52:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231906AbhH0Vwp (ORCPT ); Fri, 27 Aug 2021 17:52:45 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21A5BC0613D9; Fri, 27 Aug 2021 14:51:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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; bh=exmd3Tm+ti+IOKUHee1T7QXq+ITy8fgTRi4FMxbqdY0=; b=qxvGOri/sSUKTWhj7mxw7atvHs fXojz8mRSsj7xTcgIxNtDwjnEWih+Jb2kFvoFUU6A3YotYgWjx4hS938Bjc9Yk6Cw2G4ZAegItUBX ebdhoj//zQcsT1SXWObH2F38DPz1i9otQyuPyyRcX5Acyq/xN0Uzh+C+ZH9vz58Fx0sFlhh7A/MPG p9W+V6bpMfA6BBfeBhReTIlgJds0ZUWu09yYnrdKOSJIGqijOwM1jWPSmogwDZyFcs3QONz35poPs yzoybivPkJI8x4Hp7xN4DshPZa+WDA+7w39DLJSLW6JMmQFqgLIv38tmxIWQQhqKyvltqrj4UesJ0 KivprAxg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mJjjS-00F3gm-K3; Fri, 27 Aug 2021 21:50:01 +0000 Date: Fri, 27 Aug 2021 22:49:50 +0100 From: Matthew Wilcox To: Dan Williams Cc: Johannes Weiner , "Darrick J. Wong" , Linus Torvalds , linux-mm , linux-fsdevel , Linux Kernel Mailing List , Andrew Morton Subject: Re: [GIT PULL] Memory folios for v5.15 Message-ID: References: <20210826004555.GF12597@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 27, 2021 at 02:41:11PM -0700, Dan Williams wrote: > On Fri, Aug 27, 2021 at 11:47 AM Matthew Wilcox wrote: > > > > On Fri, Aug 27, 2021 at 10:07:16AM -0400, Johannes Weiner wrote: > > > We have the same thoughts in MM and growing memory sizes. The DAX > > > stuff said from the start it won't be built on linear struct page > > > mappings anymore because we expect the memory modules to be too big to > > > manage them with such fine-grained granularity. > > > > Well, I did. Then I left Intel, and Dan took over. Now we have a struct > > page for each 4kB of PMEM. I'm not particularly happy about this change > > of direction. > > Page-less DAX left more problems than it solved. Meanwhile, > ZONE_DEVICE has spawned other useful things like peer-to-peer DMA. ZONE_DEVICE has created more problems than it solved. Pageless memory is a concept which still needs to be supported, and we could have made a start on that five years ago. Instead you opted for the expeditious solution.