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

```text
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?

-- 
Sincerely yours,
Mike.


```
