summaryrefslogtreecommitdiff
path: root/mm/internal.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-01-21 08:41:46 -0500
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-03-21 12:59:01 -0400
commitca6d60f3f18b78d37b7a93262108ade0727d1441 (patch)
treeadc302da00612a72797606e8fd3c0607ac91ac6e /mm/internal.h
parent06d20bdb986815a75fb1addf34655756ba922e3a (diff)
downloadlinux-rpi-ca6d60f3f18b78d37b7a93262108ade0727d1441.tar.gz
linux-rpi-ca6d60f3f18b78d37b7a93262108ade0727d1441.tar.bz2
linux-rpi-ca6d60f3f18b78d37b7a93262108ade0727d1441.zip
mm: Turn putback_lru_page() into folio_putback_lru()
Add a putback_lru_page() wrapper. Removes a couple of compound_head() calls. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'mm/internal.h')
-rw-r--r--mm/internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/internal.h b/mm/internal.h
index 69e88fb7546e..ade30a1e6682 100644
--- a/mm/internal.h
+++ b/mm/internal.h
@@ -154,7 +154,8 @@ extern unsigned long highest_memmap_pfn;
*/
int isolate_lru_page(struct page *page);
int folio_isolate_lru(struct folio *folio);
-extern void putback_lru_page(struct page *page);
+void putback_lru_page(struct page *page);
+void folio_putback_lru(struct folio *folio);
extern void reclaim_throttle(pg_data_t *pgdat, enum vmscan_throttle_state reason);
/*