Re: [PATCH v2 13/28] mm: Add folio_pincount_ptr()

From: Christoph Hellwig
Date: Mon Jan 10 2022 - 03:34:13 EST


On Mon, Jan 10, 2022 at 04:23:51AM +0000, Matthew Wilcox (Oracle) wrote:
> +static inline atomic_t *folio_pincount_ptr(struct folio *folio)
> +{
> + struct page *tail = &folio->page + 1;
> + return &tail->compound_pincount;
> +}

And empty line after the declaration would be nice here.

Otherwise looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>