Re: [PATCH v5 01/24] ext4/xfs: add page refcount helper

From: Chaitanya Kulkarni
Date: Fri Jan 28 2022 - 04:26:17 EST


On 1/27/22 4:25 PM, Logan Gunthorpe wrote:
> External email: Use caution opening links or attachments
>
>
> From: Ralph Campbell <rcampbell@xxxxxxxxxx>
>
> 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.
>
> Signed-off-by: Ralph Campbell <rcampbell@xxxxxxxxxx>
> Signed-off-by: Alex Sierra <alex.sierra@xxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> Acked-by: Theodore Ts'o <tytso@xxxxxxx>
> Acked-by: Darrick J. Wong <djwong@xxxxxxxxxx>
> ---

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>