Re: [PATCH v2 3/3] mm/swap: Convert deactivate_page() to folio_deactivate()
From: Matthew Wilcox
Date: Wed Dec 07 2022 - 18:11:46 EST
On Wed, Dec 07, 2022 at 03:01:52PM -0800, Vishal Moola (Oracle) wrote:
> +++ b/include/linux/swap.h
> @@ -409,7 +409,7 @@ extern void lru_add_drain(void);
> extern void lru_add_drain_cpu(int cpu);
> extern void lru_add_drain_cpu_zone(struct zone *zone);
> extern void lru_add_drain_all(void);
> -extern void deactivate_page(struct page *page);
> +extern void folio_deactivate(struct folio *folio);
> extern void mark_page_lazyfree(struct page *page);
> extern void swap_setup(void);
Using 'extern' on function prototypes is now unfashionable; you can drop
it if you respin this patch.