# Re: \[PATCH v14 057/138\] mm/swap: Add folio\_activate()

- From: Vlastimil Babka \<hidden\>
- Date: 2021-08-11 14:43:55 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/08/212119
- Thread: https://ratatoskr.run/linux-mm/2021/07/209943/t/5.md

```text
On 7/15/21 5:35 AM, 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@infradead.org>
> Reviewed-by: Christoph Hellwig <hch@lst.de>

Acked-by: Vlastimil Babka <redacted>

```
