UPSTREAM: mm: use free_unref_folios() in put_pages_list()
Break up the list of folios into batches here so that the folios are more likely to be cache hot when doing the rest of the processing. Link: https://lkml.kernel.org/r/20240227174254.710559-8-willy@infradead.org Change-Id: I7b1c71ed33637695c532f2517832b6c63edc6522 Signed-off-by:Matthew Wilcox (Oracle) <willy@infradead.org> Cc: David Hildenbrand <david@redhat.com> Cc: Mel Gorman <mgorman@suse.de> Cc: Ryan Roberts <ryan.roberts@arm.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> (cherry picked from commit 24835f89) Bug: 419599659 Signed-off-by:
Kalesh Singh <kaleshsingh@google.com>
Loading
Please sign in to comment