Gregory Price wrote: > On Sun, Feb 05, 2023 at 05:04:05PM -0800, Dan Williams wrote: [..] > > Stupid question: when defaulting to online, do these devices get placed > into Zone Normal? Is there a way for us, at a minimum, to online this > as Zone Moveable in an effort to assist the "hope the kernel has not > pinned a page" problem (and to try to keep kernel resources out of this > zone in general). > > If this is covered by a different patch or already set up this way, > ignore me :] Have a look in Documentation/admin-guide/mm/memory-hotplug.rst, the 'daxctl recconfigure-device' man page and the the policy options of how hot-added memory is brought online. The routing can be anything from fully offline device-dax, to fully online ZONE_NORMAL, or even a mix of device-dax subdivision, ZONE_NORMAL, and ZONE_MOVABLE memblocks all within one CXL ram region.