Re: [PATCH 03/10] mm/migrate: update node demotion order during on hotplug events

From: David Hildenbrand
Date: Mon Apr 12 2021 - 05:45:04 EST


On 12.04.21 09:19, Oscar Salvador wrote:
On Fri, Apr 09, 2021 at 08:59:21PM +0200, David Hildenbrand wrote:
The only way to add more System RAM is via add_memory() and friends like
add_memory_driver_managed(). These all require CONFIG_MEMORY_HOTPLUG.

Yeah, my point was more towards whether PMEM can come in a way that it does
not have to be hotplugged, but come functional by default (as RAM).
But after having read all papers out there, I do not think that it is possible.


You mean e.g., configuring in the BIOS/firmware how an NVDIMM will get exposed to the OS (pmem vs. RAM). I once heard something about that, not sure if it's real. But from Linux' perspective, it would simply be System RAM and it would get treated like that.

--
Thanks,

David / dhildenb