]> www.infradead.org Git - users/jedix/linux-maple.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)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 20 Jul 2022 00:15:08 +0000 (20:15 -0400)
commit45f7f37dc0e7b03908ec92e1ddd85a64f3304ea5
tree4ccf88e7a5752e6b212ae667f73171b334f5dd12
parentf5a35d4ce0da61ca4ce49afce50d1c6f3e0f2f73
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