Re: [PATCH v2] mm/memory_hotplug: maintain N_NORMAL_MEMORY during hotplug

Andrew Morton
2026-03-31T05:15:01Z

On Tue, 31 Mar 2026 12:24:46 +0800 Hao Li <hao.li@linux.dev> wrote:

> The most visible effect is that
> /sys/devices/system/node/has_normal_memory does not report a node even
> after that node has gained normal memory via hotplug.
>
> Also, list_lru-based shrinkers can undercount objects on such a node and
> may skip reclaim on that node entirely, which can lead to a higher memory
> footprint than expected.
>
> Feel free to fold the above into the changelog if useful :)

Very useful. Added, thanks!