[Nouveau] [RFC PATCH v3 1/2] ext4/xfs: add page refcount helper

Christoph Hellwig hch at lst.de
Fri Oct 2 05:56:27 UTC 2020


On Thu, Oct 01, 2020 at 11:17:14AM -0700, Ralph Campbell wrote:
> 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>

Looks good:

Reviewed-by: Christoph Hellwig <hch at lst.de>


More information about the Nouveau mailing list