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

From
Mike Rapoport <rppt@kernel.org>
Date
2026-05-22 08:57:03
Also in
linux-mm, lkml
Reply to
Muchun Song, 2026-05-13
On Wed, 13 May 2026 21:04:47 +0800, Muchun Song [off-list ref] 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.

Thread (98 messages) 98 messages, 6 authors, last reply 2026-05-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help