BACKPORT: mm: use __page_cache_release() in folios_put()
Pass a pointer to the lruvec so we can take advantage of the folio_lruvec_relock_irqsave(). Adjust the calling convention of folio_lruvec_relock_irqsave() to suit and add a page_cache_release() wrapper. Link: https://lkml.kernel.org/r/20240227174254.710559-9-willy@infradead.org Change-Id: Ifd67e108d7659ef983e7c4704bb0c83a3aaf88e2 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 f1ee018b) [ Fix trivial conflist in mm/swap.c: __page_cache_release() and folios_put_ref() - Kalesh Singh] Bug: 419599659 Signed-off-by:
Kalesh Singh <kaleshsingh@google.com>
Loading
Please sign in to comment