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

From: Andrew Morton

Date: Tue Mar 31 2026 - 01:16:49 EST


On Tue, 31 Mar 2026 12:24:46 +0800 Hao Li <hao.li@xxxxxxxxx> 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!