On 22.10.24 16:24, Gregory Price wrote:
On Tue, Oct 22, 2024 at 11:33:07AM +0200, David Hildenbrand wrote:
On 20.09.24 11:06, Gregory Price wrote:
The only concern is when insufficient ZONE_NORMAL exists to support
ZONE_MOVABLE capacity - but this is unlikely to be the general scenario AND
can be mitigated w/ existing mechanisms.
It might be worthwhile looking at
Documentation/admin-guide/mm/memory-hotplug.rst "auto-movable" memory
onlining polciy. It might not fit all sue cases, though (just like
ZONE_MOVABLE doesn't)
I managed to miss auto-movable in my last pass through there. Though for
our use-case, forcibly preventing ZONE_NORMAL for all CXL is the preferred
option in an effort to keep as much kernel resources out of high latency
memory.
Yes, that makes sense for this memory with very different performance
characteristics.
--
Cheers,
David / dhildenb