# Google engineers propose Extmem, a NUMA-aware boot memory carving option for Linux

> **Key takeaway:** Extmem would give x86_64 and arm64 servers a portable boot-time way to hand large aligned DRAM regions to DAX, pmem and driver-managed pools while keeping a small System RAM pool per NUMA node.

**Published:** 2026-12-03T11:22:20+00:00 
**Source:** Phoronix Benchmarks & Drivers 
**Category:** kernel-os 
**Canonical URL:** https://fosswire.org/news/google-engineers-propose-extmem-a-numa-aware-boot-memory-car 

## Summary
Google engineers posted a new patch series called Extmem to the Linux kernel mailing list on Wednesday, proposing a NUMA-aware boot memory carving mechanism. The target is specialized server deployments that need to reserve large, physically aligned DRAM regions at boot for consumers outside the buddy allocator and boot vmemmap, such as character DAX devices backing guest VMs across KHO live updates, /dev/pmemX block devices backing fsdax filesystems, and other driver-managed memory pools.

The proposal argues that no portable method exists today to establish that split across x86_64 and arm64. EFI_MEMORY_SP requires per-host firmware setup and is absent from arm64 DeviceTree, memmap=nn!ss is x86-only and ignores NUMA topology, and cma=, hugetlb_cma= and reserve_mem= keep pages in System RAM. The patches currently configure carve-outs through a boot parameter, and the cover letter notes that some kernel developers question whether that is the right approach.

## How Extmem differs from existing memory carving options
- **NUMA topology awareness:** The proposal cites a 2-node x86_64 host with 512 GiB total (256 GiB per node) where booting with memmap=448G!64G leaves NUMA node 1 with 0 kB of System RAM, a failure mode Extmem is designed to avoid by keeping a modest System RAM pool per node.
- **Existing mechanisms rejected:** EFI_MEMORY_SP (Soft Reserved) needs per-host firmware configuration, is missing on arm64 DeviceTree, and defaults in dax_hmem to routing via dax_kmem, where onlining overwrites backed VM memory across KHO kexec; memmap=nn!ss is x86-only and ignores firmware holes.
- **Overhead of in-System-RAM reservations:** cma=, hugetlb_cma= and reserve_mem= keep pages inside System RAM, paying roughly 16 MiB per GiB in boot struct page arrays and preventing ZONE_DEVICE or driver-managed attachment.
- **Positioning against EFI Soft Reserved:** Extmem is described as a software-defined, NUMA-aware counterpart to EFI Soft Reserved that feeds existing DAX and libnvdimm drivers rather than adding a workload-specific allocator.
- **Open design questions:** The current patches rely on a boot parameter for specifying carve-outs, a choice some kernel developers consider wrong, and reviewers have raised concerns about special core-mm infrastructure added for Google's Kernel HandOver (KHO) work.

## Why it matters
If accepted, Extmem would affect operators of large x86_64 and arm64 servers running VM hosts, DAX-backed guests and fsdax filesystems, particularly around KHO live-update workflows where memory onlining can currently clobber backed VM memory. Because the mechanism is a boot parameter rather than a firmware contract, it could simplify deployment on arm64 systems where EFI Soft Reserved is unavailable through DeviceTree. The review pushback over core-mm complexity and the boot-parameter interface means the design may change substantially before any mainline inclusion.