diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2024-02-27 17:42:45 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-03-04 17:01:25 -0800 |
| commit | bc2ff4cbc3294c01f29449405c42ee26ee0e1f59 (patch) | |
| tree | 551f9a02091ff7a5c94fafae743618d3ab4eaffb /tools/perf/scripts/python | |
| parent | f77171d241e379ea93448a53d58104191e02135c (diff) | |
mm: free folios in a batch in shrink_folio_list()
Use free_unref_page_batch() to free the folios. This may increase the
number of IPIs from calling try_to_unmap_flush() more often, but that's
going to be very workload-dependent. It may even reduce the number of
IPIs as we now batch-free large folios instead of freeing them one at a
time.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Ryan Roberts <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions