Re: [PATCH v2 12/28] mm: Add folio_put_refs()

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


On Mon, Jan 10, 2022 at 04:23:50AM +0000, Matthew Wilcox (Oracle) wrote:
> This is like folio_put(), but puts N references at once instead of
> just one. It's like put_page_refs(), but does one atomic operation
> instead of two, and is available to more than just gup.c.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>