diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-02-27 20:42:42 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-03-05 04:01:24 +0300 |
commit | f1ee018baee9f4e724e08859c2559323be768be3 (patch) | |
tree | 7237baf9fecc1af4896ff3c4e4d65a58855df45c /mm/pgalloc-track.h | |
parent | 24835f899c0129a4733e899e4da20e2e72f40bd9 (diff) | |
download | linux-f1ee018baee9f4e724e08859c2559323be768be3.tar.xz |
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
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>
Diffstat (limited to 'mm/pgalloc-track.h')
0 files changed, 0 insertions, 0 deletions