Re: [PATCH v2 19/69] mm/mm_init: Make __init_page_from_nid() static

From: Mike Rapoport

Date: Fri May 22 2026 - 04:59:54 EST


On Wed, 13 May 2026 21:04:47 +0800, Muchun Song <songmuchun@xxxxxxxxxxxxx> wrote:
> __init_page_from_nid() no longer has external users and is only used
> locally in mm/mm_init.c under CONFIG_DEFERRED_STRUCT_PAGE_INIT.
>
> Make it static and keep it inside that block.

Can we just fold it into its sole caller init_deferred_page() please?

--
Sincerely yours,
Mike.