Commit c7f67cfb authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle) Committed by Kalesh Singh
Browse files

UPSTREAM: mm: use folios_put() in __folio_batch_release()

There's no need to indirect through release_pages() and iterate over this
batch of folios an extra time; we can just use the batch that we have.

Link: https://lkml.kernel.org/r/20240227174254.710559-5-willy@infradead.org


Change-Id: Ia81f646da277bd7b043a9cabca091814ea67fd7f
Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: default avatarRyan Roberts <ryan.roberts@arm.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
(cherry picked from commit 6871cc57)
Bug: 420771453
Signed-off-by: default avatarKalesh Singh <kaleshsingh@google.com>
parent 445fa9a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment