]> Git Repo - linux.git/commit
mm/swap: add folio_batch_move_lru()
authorMatthew Wilcox (Oracle) <[email protected]>
Fri, 17 Jun 2022 17:50:00 +0000 (18:50 +0100)
committerakpm <[email protected]>
Mon, 4 Jul 2022 01:08:45 +0000 (18:08 -0700)
commitc2bc16817aa0dcd5d4b452661840be976f5d5c65
tree88f601ff337b231e3de0eac2cc96d972b3c5aa45
parente3c4cebf3f9db8c9150eb1982da7e353d9938bed
mm/swap: add folio_batch_move_lru()

Start converting the LRU from pagevecs to folio_batches.

Combine the functionality of pagevec_add_and_need_flush() with
pagevec_lru_move_fn() in the new folio_batch_add_and_move().

Convert the lru_rotate pagevec to a folio_batch.

Adds 223 bytes total to kernel text, because we're duplicating
infrastructure.  This will be more than made up for in future patches.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
mm/swap.c
This page took 0.055085 seconds and 4 git commands to generate.