summaryrefslogtreecommitdiff
path: root/mm/vmscan.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-06-21 17:45:50 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-06-23 16:59:29 -0700
commite0b72c14d8dcc9477e580c261041dae86d4906fe (patch)
tree1f266190397d9b2f673d0f2d79877c81840ede12 /mm/vmscan.c
parent3291e09a463870610b8227f32b16b19a587edf33 (diff)
downloadlwn-e0b72c14d8dcc9477e580c261041dae86d4906fe.tar.gz
lwn-e0b72c14d8dcc9477e580c261041dae86d4906fe.zip
mm: remove check_move_unevictable_pages()
All callers have now been converted to call check_move_unevictable_folios(). Link: https://lkml.kernel.org/r/20230621164557.3510324-7-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r--mm/vmscan.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index 27f90896f789..049342b6317c 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -8075,23 +8075,6 @@ int node_reclaim(struct pglist_data *pgdat, gfp_t gfp_mask, unsigned int order)
}
#endif
-void check_move_unevictable_pages(struct pagevec *pvec)
-{
- struct folio_batch fbatch;
- unsigned i;
-
- folio_batch_init(&fbatch);
- for (i = 0; i < pvec->nr; i++) {
- struct page *page = pvec->pages[i];
-
- if (PageTransTail(page))
- continue;
- folio_batch_add(&fbatch, page_folio(page));
- }
- check_move_unevictable_folios(&fbatch);
-}
-EXPORT_SYMBOL_GPL(check_move_unevictable_pages);
-
/**
* check_move_unevictable_folios - Move evictable folios to appropriate zone
* lru list