]> git.baikalelectronics.ru Git - kernel.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)
committerakpm <akpm@linux-foundation.org>
Mon, 4 Jul 2022 01:08:46 +0000 (18:08 -0700)
commit6191fc4ecf1ea9a2c77492f9b68fc5ae6913e7aa
tree19bb1dbbf15343d9421aa631fd7cad994abdc6cd
parent19f9f09a5fbc0873a6e1ba1b80e00b0f9288fa39
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