[PATCH v1 01/14] ext4/xfs: add page refcount helper
Theodore Ts'o
tytso at mit.edu
Wed Aug 25 15:09:22 UTC 2021
On Tue, Aug 24, 2021 at 10:48:15PM -0500, Alex Sierra wrote:
> 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>
More information about the dri-devel
mailing list