Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2025779pxb; Wed, 9 Feb 2022 09:19:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZbkHcO8z54XNuW0KaqxyZsDwrHn59R3WY0AyE/swviePGHsGYIjbjnEPy3rVWZ0DvjMuk X-Received: by 2002:a63:5602:: with SMTP id k2mr2687681pgb.333.1644427177280; Wed, 09 Feb 2022 09:19:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644427177; cv=none; d=google.com; s=arc-20160816; b=teBl2ySA3e8JHLIrehO91YLCFu/eDqpqKUUQfOqRAefvKgHRd2hMzgJuHDrps4MwQT zbgoDJrMTUUJIfDgSR9dkmYcvxQjMgD30cSJmVqk/Sc1+ydgK9ZD2tUp7v1YT73G2ZQV s4/dVCzrK16gf9nH0UqacgGWBAs+mqLuD8xiOGdUYK28m4xSJMg7hS5N9CXFikQIhNH7 JEMOjknJucbfonLfP1XzUv4RtjCRxxpM66Lmg5jGXb2lh0wstBZ0sD5PrxlqOkeard5J dozTDj0TPOry0nus8z3AnxcuV2scv2jYZXKFVn01BEZ6pqFlIiH6gDHg5k85Cg5Q0mNo xyDA== 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=c8BMy3fH62yXJxfHY+j4P80h5ALqrjcvX+ObTuKf0iA=; b=ux/gG9yiwDT+fKyk+2U8PUbXpezsMAOE0mgwGt0z0vsaONgWP113jIDyS8MHQE4CXM bjWDiM97BTY+0Hwt1n4WUGj3mvny5+kw9NkOCdC80gOWwOddjM9R0UX9zs1cDHpNyJfh 6nlcjTpOWKZfEiLN7BPNmEqYEeugHN0P3Ec3X41oj34Xa9/qWOKnD6PrC7X6T3qsLal5 aALgMlsZLVGXymSSGhnZl1BJJ1A1rUUCYqM6jshHJT6S+tmYs2pOu/QBn/XmwZ2HOvJV aPq0c3eiObXF1D+qrhMspVaMK4L3DXMp4WhW3efBzw/Mspjyac5iBFZMuw6FZRoXHXGs Nwcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=V7onSa8r; 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 rj12si6079773pjb.110.2022.02.09.09.19.12; Wed, 09 Feb 2022 09:19:37 -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; dkim=pass header.i=@ziepe.ca header.s=google header.b=V7onSa8r; 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 S234883AbiBIOOa (ORCPT + 99 others); Wed, 9 Feb 2022 09:14:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234868AbiBIOO0 (ORCPT ); Wed, 9 Feb 2022 09:14:26 -0500 Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B668C0612BE for ; Wed, 9 Feb 2022 06:14:29 -0800 (PST) Received: by mail-qk1-x732.google.com with SMTP id 13so1628662qkd.13 for ; Wed, 09 Feb 2022 06:14:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=c8BMy3fH62yXJxfHY+j4P80h5ALqrjcvX+ObTuKf0iA=; b=V7onSa8ruWkEtkdB8irRTbQO5EhI5+EN5mjt3u01+vlKyYcQfcNp9aFh92tP1OzUTh ScFSSPOJZDc270JM0jq7Rhgv2t8FwpCHJ20+6gStJqzqZxWKPGAiZe6G30wozCGKb6G+ ZLQWTS1Ro4hAfH5OwcrYeqPEFEKYoHUMzawcDJx2RgUNBo1ohb8nkxONIHkbUDMBpr5o apeGjKCH5BBxtNM0aA8Q1I0DV6rlydLedHpS7mVvMx/qFqliS9UfDYoHrCMy5D2aCL3F 0jecgeDZDBF6tjcMyMnIYAGizQnperLp47omGbCJq3v5uCCpJ63E6XzU+sfOUF4jG60Y /F8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=c8BMy3fH62yXJxfHY+j4P80h5ALqrjcvX+ObTuKf0iA=; b=Phf4HGbM+JVvFvfPyro077aLdUMvW+uoqHnETAX3w0PqdBUHLC8Yu5BV4uHFkknPe2 Np3rYZHpA6++zN3Z+ETrZUisJfusp66xepZpOLEJAJa03cLDwalTCV4HhOGYnCjwJkTs 97Hjsa8qir8LSlcBR2fiXo48+et+oZDfYPBqwCacC0Lk02PjNhU5oyFX31RZdhkktnH1 MNojBPFfVfQh+0XKao12ppzJmZ69c0FhfxYnQNeiDJZc1TAHjC8qR32a7RV4fTtqEtMx LTVV9A5Wmo9FauamBm/ld33dHgOwEndMP3DFFZRfTIYo9UnvQBu58rldB1JtwkmYD5rf B0rg== X-Gm-Message-State: AOAM533TKpUzSC0g9ZPpFBPvPWvEfI4/e5LrN2uwmEQFtUCefNwmvrkK QJOma65GEglH4+XxxnzPF7g90Q== X-Received: by 2002:a05:620a:1351:: with SMTP id c17mr1137673qkl.460.1644416068212; Wed, 09 Feb 2022 06:14:28 -0800 (PST) Received: from ziepe.ca (hlfxns017vw-142-162-113-129.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.162.113.129]) by smtp.gmail.com with ESMTPSA id a14sm9094374qtb.92.2022.02.09.06.14.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 06:14:27 -0800 (PST) Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1nHnjn-001FdR-1z; Wed, 09 Feb 2022 10:14:27 -0400 Date: Wed, 9 Feb 2022 10:14:27 -0400 From: Jason Gunthorpe To: Christoph Hellwig Cc: Dan Williams , Andrew Morton , Felix Kuehling , Alex Deucher , Christian =?utf-8?B?S8O2bmln?= , "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: <20220209141427.GJ49147@ziepe.ca> References: <20220207063249.1833066-1-hch@lst.de> <20220207063249.1833066-8-hch@lst.de> <20220209062345.GB7739@lst.de> <20220209122956.GI49147@ziepe.ca> <20220209135351.GA20631@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220209135351.GA20631@lst.de> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,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 02:53:51PM +0100, Christoph Hellwig wrote: > 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. Right, I agree with this Jason