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