diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2022-06-17 18:50:00 +0100 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-07-03 18:08:45 -0700 |
| commit | c2bc16817aa0dcd5d4b452661840be976f5d5c65 (patch) | |
| tree | 88f601ff337b231e3de0eac2cc96d972b3c5aa45 /tools/perf/scripts/python | |
| parent | e3c4cebf3f9db8c9150eb1982da7e353d9938bed (diff) | |
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]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions