Re: [PATCH 2/6] mm: handle uninitialized numa nodes gracefully

From: David Hildenbrand
Date: Thu Feb 03 2022 - 04:21:13 EST


On 03.02.22 10:19, Michal Hocko wrote:
> So we will go with the following.
> /*
> * We do not want to confuse userspace by sysfs files/directories for node
> * without any memory attached to it, so this node is not marked as
> * N_MEMORY and not marked online so that no sysfs hierarchy will be
> * created via register_one_node for this node. The pgdat will get fully
> * initialized by hotadd_init_pgdat() when memory is hotpluged into this
> * node
> */
>
> OK?

LGTM, thanks!

--
Thanks,

David / dhildenb