]> git.baikalelectronics.ru Git - kernel.git/commit
mm/swap: convert activate_page to a folio_batch
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 17 Jun 2022 17:50:06 +0000 (18:50 +0100)
committerakpm <akpm@linux-foundation.org>
Mon, 4 Jul 2022 01:08:46 +0000 (18:08 -0700)
commit33793ce8fecc7a323d12b8ed16fcabae110ab2fe
treef85cb140c797aacbf3de900292154102a818a0d2
parent0ab9cb4d915dedc4f489c6edd700928623002a5f
mm/swap: convert activate_page to a folio_batch

Rename it to just 'activate', saving 696 bytes of text from removals
of compound_page() and the pagevec_lru_move_fn() infrastructure.
Inline need_activate_page_drain() into its only caller.

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