# 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 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2026/05/17018392
- Thread: https://ratatoskr.run/linux-mm/2026/05/9003574/t/2.md

```text


> On May 22, 2026, at 16:56, Mike Rapoport [ref] wrote:
> 
> On Wed, 13 May 2026 21:04:47 +0800, Muchun Song [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?

Yes. I can do that next version.

Thanks
Muchun

> 
> -- 
> Sincerely yours,
> Mike.
> 


```
