On Fri, Apr 11, 2025 at 05:06:55PM +0530, Donet Tom wrote:
On 4/11/25 4:29 PM, Mike Rapoport wrote:Yes
It might make sense to use for_each_mem_range() as top level loop inYes, this makes sense to me as well. So in your opinion, instead of adding
node_dev_init(), but that's a separate topic.
a new memblock search function like I added , it's better to use
|for_each_mem_range()| in|node_dev_init()|, which would work for all
cases—regardless of whether|CONFIG_DEFERRED_STRUCT_PAGE_INIT| is set or
not. Right?