Received: by 2002:a05:6a10:c7d3:0:0:0:0 with SMTP id h19csp843313pxy; Sun, 15 Aug 2021 02:02:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4XNnbNX6Gu/2wr9aBLThlJzV0VrcyFtmH2q/ty5v/6O6XKQLD+4LPJTr/Jxvho5ZN8WNr X-Received: by 2002:aa7:d5c8:: with SMTP id d8mr13425597eds.110.1629018161370; Sun, 15 Aug 2021 02:02:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629018161; cv=none; d=google.com; s=arc-20160816; b=0NSzM1SSf5PHNSPu8/+kYb7TIb3A7KY3lnZTup1d7EfTQxjD4rACOzx2Hw9lQYbPnw eyKjEShVt589Q5WmZaiJtJYAbIMnz6bY9ojEvJTt0K8YH7Irf6dGiHQDJ519Iil/1upY 9byQaKHESUaChe7lVRGiPskogtDNahmZUtJe9bWJI/vKuVqQFytZbfU2Cmw91V6Gu3pA neTf8oDWLihUBc1bKiX560kKrnp5syejf/fL1v1JdAadN9ztwSs7amBmsMlI5cqAxg9k D04GpiP3BrgDf6PhBJ2DoqHNtsk6ZR7Ip+Z4vrZnN7EOPRiqYhDmBjfYOSpRFI5XzJfl cysg== 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=d2CCnjSd/sUZjuRyOd1FgrCKcNVTsOPE8ZUPOkXyiBk=; b=TJkHEtkZGFvH3Cc5QMSHhe+a2kBGuGd0zCwSpTIz03EfshEatLsRbl4O4iidaOOetd YcSTrKGPw1Y1nzcUm/RwLsHHtkU9+LNYXNPKtI4SRX2KAU3g6ORh7ZtF8t0PyX7EfDzy zlNhB7Zdvo2YuXPJZKOdrEZM8Lkjh1t9vRlkJsBYWqhUjawNuR2THpaVZWF5iPlWQuRy F4WgJN9YrMC6U4yfYnDC0k1dayD2jwLBJJkpsXCu6tAWnZN+n0grI5STbDVRLTQFIGt4 8fI7W5kyUxqrDpzZQncQyj6M1535+EVJLej8wqhqQpdQfYHZl8rNx+iwtGAIHcYozmu9 RDUg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 f22si6998588edt.529.2021.08.15.02.02.00; Sun, 15 Aug 2021 02:02:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236425AbhHOJBe (ORCPT + 99 others); Sun, 15 Aug 2021 05:01:34 -0400 Received: from verein.lst.de ([213.95.11.211]:51372 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231194AbhHOJBe (ORCPT ); Sun, 15 Aug 2021 05:01:34 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 686D56736F; Sun, 15 Aug 2021 11:01:01 +0200 (CEST) Date: Sun, 15 Aug 2021 11:01:00 +0200 From: Christoph Hellwig To: Alex Sierra Cc: akpm@linux-foundation.org, Felix.Kuehling@amd.com, linux-mm@kvack.org, rcampbell@nvidia.com, linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, hch@lst.de, jgg@nvidia.com, jglisse@redhat.com Subject: Re: [PATCH v6 01/13] ext4/xfs: add page refcount helper Message-ID: <20210815090100.GA25067@lst.de> References: <20210813063150.2938-1-alex.sierra@amd.com> <20210813063150.2938-2-alex.sierra@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210813063150.2938-2-alex.sierra@amd.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, Aug 13, 2021 at 01:31:38AM -0500, Alex Sierra wrote: > From: Ralph Campbell > > There are several places where ZONE_DEVICE struct pages assume a reference > count == 1 means the page is idle and free. Instead of open coding this, > add a helper function to hide this detail. > > v3: > [AS]: rename dax_layout_is_idle_page func to dax_page_unused > > v4: > [AS]: This ref count functionality was missing on fuse/dax.c. These per-patch changelog goes under the "---", otherwise they totally mess up the logs when commited to git. Same for the other patches in this series. But the changes itself looks good: Reviewed-by: Christoph Hellwig