Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1937313pxb; Wed, 9 Feb 2022 07:38:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWYUPEPLGEZ1j4dpRNpRY5eNO3OK7Exk+1WD063RF+6/0w6iUXtWV9Mvt93dz+d6g95iI+ X-Received: by 2002:a05:6402:608:: with SMTP id n8mr3155360edv.261.1644421116822; Wed, 09 Feb 2022 07:38:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644421116; cv=none; d=google.com; s=arc-20160816; b=qLOXh0IbwG7k4eHYgJ/Z1eU7Sq2XmUXGZbfJQP5zYZXilrX+9RwnLbK53vorQec0vg VaT3PqTiAqhajx2D3uv6wo3eQnj9UWFN0bhJKDyVcoM1UtpY2PNjI1eZ5KJoYS2AfbOs iIqKdRjjPW9AYGvrDtErdEmTOPsdlZ9LutmoxBi0/YXLr6acQ+1lleD3rDR5ZU3IU7Xp V56JC/LCFWVON6F+phcfDRjHg65ejGNgvPPw312SDpre2SGCmOYUwDfg3AneEIRkb9tL Sj/Sfbyj9V4K2dmb/49CDRmIeuy7DsapnDNk0+uWqhA4Cg7Zmjs4hCQhgFCFw3/emJK4 PZQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=4+2RUXTJIF+72Wi37J7VVMXmF4InUlhBfC31Ao3WS64=; b=Z4P6cyyFfjo+wCwtGSDid9KYjm/TTm/5qtgBumHeTPYZR8DA2ufg0jNUzX0DOOcD/P xvaKjXBSXR2TX3gPE/caQvOGncPYwEuue1MPYMix1p9Mg65jvb3GA3kngz1//d7Xfo6H nP1FR5hOEkbWgMPF0a3KSAD1/BGMG0pGHu7VcIxZCui95jkqu8kPgO8Dn50ro1JABnKe wWRUOc7U+tOeIL2QF+NI5zt3IamTTXDIHHHbewgnIBfCS8YLncs+Z9PEdOfs9jGpTC2W hvVh+dKotm4xTcCP7KjsZJFy76/HfOZ/WKuSaG5lLHSL61QaXMiPA2uuImb4YPoPTxtN ad/g== ARC-Authentication-Results: i=1; mx.google.com; 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 hc19si11510838ejc.382.2022.02.09.07.38.10; Wed, 09 Feb 2022 07:38:36 -0800 (PST) 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; 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 S234493AbiBINxz (ORCPT + 99 others); Wed, 9 Feb 2022 08:53:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234202AbiBINxy (ORCPT ); Wed, 9 Feb 2022 08:53:54 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 194F8C0613C9 for ; Wed, 9 Feb 2022 05:53:55 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id D733867373; Wed, 9 Feb 2022 14:53:51 +0100 (CET) Date: Wed, 9 Feb 2022 14:53:51 +0100 From: Christoph Hellwig To: Jason Gunthorpe Cc: Christoph Hellwig , Dan Williams , Andrew Morton , Felix Kuehling , Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= , "Pan, Xinhui" , Ben Skeggs , Karol Herbst , Lyude Paul , Alistair Popple , Logan Gunthorpe , Ralph Campbell , Linux Kernel Mailing List , amd-gfx list , Maling list - DRI developers , nouveau@lists.freedesktop.org, Linux NVDIMM , Linux MM Subject: Re: [PATCH 7/8] mm: remove the extra ZONE_DEVICE struct page refcount Message-ID: <20220209135351.GA20631@lst.de> References: <20220207063249.1833066-1-hch@lst.de> <20220207063249.1833066-8-hch@lst.de> <20220209062345.GB7739@lst.de> <20220209122956.GI49147@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220209122956.GI49147@ziepe.ca> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 09, 2022 at 08:29:56AM -0400, Jason Gunthorpe wrote: > It is nice, but the other series are still impacted by the fsdax mess > - they still stuff pages into ptes without proper refcounts and have > to carry nonsense to dance around this problem. > > I certainly would be unhappy if the amd driver, for instance, gained > the fsdax problem as well and started pushing 4k pages into PMDs. As said before: I think this all needs to be fixed. But I'd rather fix it gradually and I think this series is a nice step forward. After that we can look at the pte mappings.