mm/swap: convert lru_deactivate to a folio_batch
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 17 Jun 2022 17:50:04 +0000 (18:50 +0100)
committerakpm <akpm@linux-foundation.org>
Mon, 4 Jul 2022 01:08:46 +0000 (18:08 -0700)
commit85cd7791a809156e562df6381a7c6d4ab12c7280
tree19bb1dbbf15343d9421aa631fd7cad994abdc6cd
parent7a3dbfe8a52b5d7a1639aa0bf7b3a3271d9e6e05
mm/swap: convert lru_deactivate to a folio_batch

Using folios instead of pages shrinks deactivate_page() and
lru_deactivate_fn() by 778 bytes between them.

Link: https://lkml.kernel.org/r/20220617175020.717127-7-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/swap.c