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

From
Muchun Song <muchun.song@linux.dev>
Date
2026-05-22 09:07:19
Also in
linux-mm, lkml
Reply to
Mike Rapoport, 2026-05-22
On May 22, 2026, at 16:56, Mike Rapoport [off-list ref] wrote:

On Wed, 13 May 2026 21:04:47 +0800, Muchun Song [off-list ref] wrote:
quoted
__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?
Yes. I can do that next version.

Thanks
Muchun
-- 
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