Engineering & Architecture Brief Published: 2026-11-24
A Type 3 CXL memory expander onlined into ZONE_NORMAL instead of ZONE_MOVABLE passes code review and every compliance test, and it still turns a single device failure into a dead host. The diff is tiny, usually a udev rule, a daxctl invocation in a provisioning script or a kernel command line default, and it looks correct because the memory comes up, the NUMA node appears and benchmarks improve. The damage shows up months later, when a link retrains badly or a device reports poison and the kernel finds its own slab, page tables and socket buffers sitting on hardware it can no longer trust.
Why review never catches it Reviewers check whether capacity is online, not which allocator is allowed to use it. When a dax device is converted to system-ram and onlined as normal memory, the kernel treats it as general purpose RAM, so unmovable allocations land there freely. Once that happens the memory blocks cannot be offlined, because pinned kernel objects cannot be migrated, and the only remaining response to a failing expander is to keep running on bad memory or panic. Movable onlining restricts the node to user pages and page cache, which the kernel can migrate away or simply lose, so a device fault costs you a process or a cache rebuild rather than the whole machine. The consortium's compliance and interoperability test programme cannot help here, since it certifies that the device and link behave to specification, and says nothing about the host policy you wrap around them.
Interleave makes the blast radius wider The zone mistake compounds with region interleaving. A region built across several expanders stripes every page over all of them, so one degraded device corrupts or removes the entire region, and if that region holds kernel memory you have multiplied the number of components that can take the host down. Interleave buys bandwidth, which is real, but it also means your failure domain is the union of every device, link and switch port in the set. The memory block size reported in /sys/devices/system/memory/block_size_bytes, often 2 GiB on large x86 servers, sets the granularity at which you can offline anything, and a single pinned page anywhere inside a block is enough to refuse the offline request.
The check you can run today Run daxctl list | jq '.[] | select(.mode=="system-ram" and.movable==false) |.chardev' on every CXL host, and treat any output as a latent incident, then run cxl list with the regions option and record interleave_ways next to each region so you know how many devices share a fate. Wire the first command into your fleet configuration audit with a nonzero exit on any match, so the next provisioning change that drops the movable flag fails in CI rather than in production. Check /proc/zoneinfo for the CXL node as a second opinion, since a Movable zone with real present pages confirms what daxctl claims. As an estimate, the whole sweep takes seconds per host and needs no maintenance window.
The decision rule is simple: CXL capacity goes online as movable unless a named owner has accepted that the host dies with the device, and interleave ways never exceed the number of devices you are willing to lose together.
Technical FAQ: Doesn't movable onlining hurt performance enough to matter? It limits what can live on the expander, which is the point, so latency sensitive kernel structures stay on local DRAM where they belong. The real cost is capacity planning: if your workload depends on large amounts of unmovable memory, an estimate worth checking is that it will use noticeably less of the CXL tier, and you should size local DRAM for that rather than quietly flipping the zone back to normal.