diff options
author | 2024-02-27 17:42:42 +0000 | |
---|---|---|
committer | 2024-03-04 17:01:24 -0800 | |
commit | f1ee018baee9f4e724e08859c2559323be768be3 (patch) | |
tree | 7237baf9fecc1af4896ff3c4e4d65a58855df45c /mm/vmscan.c | |
parent | mm: use free_unref_folios() in put_pages_list() (diff) | |
download | wireguard-linux-f1ee018baee9f4e724e08859c2559323be768be3.tar.xz wireguard-linux-f1ee018baee9f4e724e08859c2559323be768be3.zip |
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/vmscan.c')
0 files changed, 0 insertions, 0 deletions