mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
vmscan: Add check_move_unevictable_folios()
Change the guts of check_move_unevictable_pages() over to use folios and add check_move_unevictable_pages() as a wrapper. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Acked-by: Christian Brauner (Microsoft) <brauner@kernel.org>
This commit is contained in:
@@ -438,7 +438,8 @@ static inline bool node_reclaim_enabled(void)
|
||||
return node_reclaim_mode & (RECLAIM_ZONE|RECLAIM_WRITE|RECLAIM_UNMAP);
|
||||
}
|
||||
|
||||
extern void check_move_unevictable_pages(struct pagevec *pvec);
|
||||
void check_move_unevictable_folios(struct folio_batch *fbatch);
|
||||
void check_move_unevictable_pages(struct pagevec *pvec);
|
||||
|
||||
extern void kswapd_run(int nid);
|
||||
extern void kswapd_stop(int nid);
|
||||
|
Reference in New Issue
Block a user