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 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 98F58C4332F for ; Wed, 9 Feb 2022 14:55:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 05B2510E454; Wed, 9 Feb 2022 14:55:50 +0000 (UTC) Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4257210E50C for ; Wed, 9 Feb 2022 14:14:29 +0000 (UTC) Received: by mail-qk1-x731.google.com with SMTP id bs32so1684359qkb.1 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=HYhYhGElkWu6DRuzlZUqrddLitbyv9Eab18Bt3ftinh8VuRJsCaIl7f3RYTtwwjAe+ 8EfdZ0+DwuSkPzB9k0DMMselBjm9Ec4QlHh4B2kyBmFcHGFpeuHFLinc5C1XFqEhbG+/ x1WuaJuaDRIa789X8Cimz6+qisVw+UptercJ94v1NY6up7EsimXvmXswi/3bRdPrVriJ zvaGsxViDhfDSfJO5KwgoWbgi/Fjmnj7QZjhzBA5/QTeL8FzUGHHqaZTG1Uo2vjtTj8c ID+FC339HbgY5WcH6Zi3q0SSSxbIGtVBRY7kYOHBjP3mHYTfp154DaOADtCiLcF48oWE XSjQ== X-Gm-Message-State: AOAM530bv/DFFTVg2tpI7HVtFDJpAgjTDWxtc6yauasoMKDUZOSdCHWP yh09QthZ0/t4F2m920lgr7KayA== X-Google-Smtp-Source: ABdhPJzQ+iaZjCKRuCc0J8n0Ck+TXJ7O0pFZ7w0y3yYzv/vscWA+Im2JaGH4eENvWOVqnzWKMTNFCg== 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 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-Mailman-Approved-At: Wed, 09 Feb 2022 14:55:47 +0000 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux NVDIMM , Ralph Campbell , Alistair Popple , Maling list - DRI developers , Karol Herbst , nouveau@lists.freedesktop.org, Felix Kuehling , "Pan, Xinhui" , Linux Kernel Mailing List , amd-gfx list , Christian =?utf-8?B?S8O2bmln?= , Linux MM , Ben Skeggs , Alex Deucher , Dan Williams , Logan Gunthorpe , Andrew Morton Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" 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