Re: [PATCH 02/16] mm/page_alloc: make zone_pcp_update() static

From: Oscar Salvador
Date: Thu Sep 15 2022 - 00:41:44 EST


On Fri, Sep 09, 2022 at 05:24:37PM +0800, Miaohe Lin wrote:
> Since commit b92ca18e8ca5 ("mm/page_alloc: disassociate the pcp->high
> from pcp->batch"), zone_pcp_update() is only used in mm/page_alloc.c.
> Move zone_pcp_update() up to avoid forward declaration and then make
> it static. No functional change intended.
>
> Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>

Reviewed-by: Oscar Salvador <osalvador@xxxxxxx>


--
Oscar Salvador
SUSE Labs