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

Chaitanya Kulkarni chaitanyak at nvidia.com
Fri Jan 28 01:26:11 PST 2022


On 1/27/22 4:25 PM, Logan Gunthorpe wrote:
> External email: Use caution opening links or attachments
> 
> 
> From: Ralph Campbell <rcampbell at nvidia.com>
> 
> 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 at nvidia.com>
> Signed-off-by: Alex Sierra <alex.sierra at amd.com>
> Reviewed-by: Christoph Hellwig <hch at lst.de>
> Acked-by: Theodore Ts'o <tytso at mit.edu>
> Acked-by: Darrick J. Wong <djwong at kernel.org>
> ---

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>



More information about the Linux-nvme mailing list