Commit f34dcfcf authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle) Committed by Wenchao Hao
Browse files

BACKPORT: mm: remove use of folio list from folios_put()

Instead of putting the interesting folios on a list, delete the
uninteresting one from the folio_batch.

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


Change-Id: I1c416d2a6b8a78a9b194c4cf45577b64b8cb99c6
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 7c33b8c4)
[ Fix trivial conflicts in folio_put_ref() - Kalesh Singh]
Bug: 419599659
Bug: 427173548
Signed-off-by: default avatarKalesh Singh <kaleshsingh@google.com>
Signed-off-by: default avatarWenchao Hao <haowenchao@xiaomi.com>
parent d3782d69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment