Re: [PATCH v6 07/27] mm: Add get_folio

From: Christoph Hellwig
Date: Tue Apr 06 2021 - 09:34:15 EST


On Wed, Mar 31, 2021 at 07:47:08PM +0100, Matthew Wilcox (Oracle) wrote:
> If we know we have a folio, we can call get_folio() instead
> of get_page() and save the overhead of calling compound_head().
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
> Reviewed-by: Zi Yan <ziy@xxxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>