Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1841513pxb; Wed, 9 Feb 2022 05:45:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzq0ORE8Sfk7w64VHTluoyvNPKqA8vxDsIKIjB3aQgkHMUCHTULh0YHaGJtkH0NFSPfYw41 X-Received: by 2002:a17:902:8a8d:: with SMTP id p13mr2469798plo.80.1644414308223; Wed, 09 Feb 2022 05:45:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644414308; cv=none; d=google.com; s=arc-20160816; b=uzjYxwjw2c6YZ11vLDkuCWXHN0GG6tRlsiBooQjPfG5m507m8WrJzFdWs9TX9ntMS8 g+zC7ojB70EPSa+ffJWYXEviHzWqqDPMxsi6lnQWbllRBK2/lQPysO98xD7tQFdEy6xh COJWkTR+5PNGHSH0Y0AkTkiMKpqH+2pkrp18TvsmbujmQeysZuGeyP3/EsLHfvBKBz3U kl9yzJJZOZsI0PSqDP5GEONbHDTI1GMymc7wowH+aEoIc6Ki4Z/WAKSEFARwSEngiEP8 EHGJUXPnuM7Bn+/m+oKDoca8kANqgo6DRKyswQYfKozt0sxTHLt3es48SzGyfRRNvX7t ZpxQ== 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=BmPmsSkPw+5YDpsL9NDEMuVl8O1TMIBIBjIDArAij2s=; b=t2MBQsqjyvsxbOISsYQKmiD50ywI0/7RlmeeoWa1XWUpN5BpDOl+iPUB//gsTCWLKf s/F4Ir/lwbZNNsKHf95Gb9S/3KCl803FMfY0B3Kq+fMYjUgI8AZjv9iv8yRI3sXY1S0d 1y9Y+C9Gh4fkZH7oCwXN1HR7Co76GrHEFuR6W8atpkH7T3tgkSrhoRWaggjM7nNf5ROY foYrlAdI0q3izNdtPDfG4Rm90FLVJwkKhtKNW7w+sDTp27j8dess+RAsNIfItQwS1Tez 1O6OG7I+BqiZ3B5A1DtkTbfjDfIKCA/7Gdz4s1s/351m+c0J9A72VUoYP3XvdhlLAuUy tB0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k189si15920732pgd.101.2022.02.09.05.45.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 05:45:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 081C1E09CF0A; Wed, 9 Feb 2022 02:26:11 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234981AbiBIGYv (ORCPT + 99 others); Wed, 9 Feb 2022 01:24:51 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:45930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233414AbiBIGXt (ORCPT ); Wed, 9 Feb 2022 01:23:49 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF0F1E04EFD4 for ; Tue, 8 Feb 2022 22:23:48 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id 87E2668AFE; Wed, 9 Feb 2022 07:23:45 +0100 (CET) Date: Wed, 9 Feb 2022 07:23:45 +0100 From: Christoph Hellwig To: Dan Williams Cc: Christoph Hellwig , Andrew Morton , Felix Kuehling , Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= , "Pan, Xinhui" , Ben Skeggs , Karol Herbst , Lyude Paul , Jason Gunthorpe , 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: <20220209062345.GB7739@lst.de> References: <20220207063249.1833066-1-hch@lst.de> <20220207063249.1833066-8-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, Feb 08, 2022 at 07:30:11PM -0800, Dan Williams wrote: > Interesting. I had expected that to really fix the refcount problem > that fs/dax.c would need to start taking real page references as pages > were added to a mapping, just like page cache. I think we should do that eventually. But I think this series that just attacks the device private type and extends to the device coherent and p2p enhacements is a good first step to stop the proliferation of the one off refcount and to allow to deal with the fsdax pages in another more focuessed series.