Re: [PATCH v2 08/46] mm/swap: Add folio_activate()

From: Christoph Hellwig
Date: Wed Jun 23 2021 - 04:04:58 EST


On Tue, Jun 22, 2021 at 01:15:13PM +0100, Matthew Wilcox (Oracle) wrote:
> This replaces activate_page() and eliminates lots of calls to
> compound_head(). Saves net 118 bytes of kernel text. There are still
> some redundant calls to page_folio() here which will be removed when
> pagevec_lru_move_fn() is converted to use folios.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>