From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59C93C432BE for ; Fri, 27 Aug 2021 21:51:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3CAF560F91 for ; Fri, 27 Aug 2021 21:51:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232035AbhH0Vwr (ORCPT ); Fri, 27 Aug 2021 17:52:47 -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.