drivers/nvdimm

LIBNVDIMM persistent memory, virtio-pmem, and CXL PMEM bridge

The kernel's persistent-memory stack: NVDIMM modules described by ACPI NFIT (Intel Optane and similar battery-backed DIMMs from the late 2010s), the virtio-pmem paravirtual device that exposes persistent memory to VMs, and the bridge that lets newer CXL-attached persistent memory plug into the same namespace and region machinery.

keep conf=0.84 deploy=medium replacement=none subsystem=nvdimm category=memory
84%

recommendation

It should stay because the subsystem is actively maintained, with patches landing in 2024 and stable backports for virtio-pmem queued into 2026. Far from being legacy, LIBNVDIMM is the foundation that the modern CXL persistent-memory stack plugs into, QEMU's virtio-pmem still relies on it for VM guests, and vendors like Micron continue shipping new CXL memory products in 2025 that ultimately surface through this code.

repository signals

31 files
15,236 source lines
173 commits, 5y
+2,869 / −3,151 lines added / removed, 5y
65 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 173 total · active in 48/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 6 commits · +20 −53 2021-06: 3 commits · +62 −26 2021-07: 2 commits · +12 −8 2021-08: 9 commits · +375 −183 2021-09: 9 commits · +471 −173 2021-10: 3 commits · +8 −40 2021-11: 10 commits · +53 −23 2021-12: 3 commits · +6 −25 2022-01: 4 commits · +25 −16 2022-02: 2 commits · +330 −0 2022-03: 8 commits · +97 −1,581 2022-04: 6 commits · +158 −192 2022-05: 3 commits · +95 −35 2022-06: 9 commits · +41 −27 2022-07: 2 commits · +3 −3 2022-08: 2 commits · +4 −6 2022-09: 3 commits · +4 −4 2022-10: 0 commits · +0 −0 2022-11: 3 commits · +59 −10 2022-12: 1 commit · +66 −1 2023-01: 3 commits · +62 −67 2023-02: 1 commit · +21 −4 2023-03: 1 commit · +1 −1 2023-04: 0 commits · +0 −0 2023-05: 1 commit · +1 −1 2023-06: 3 commits · +3 −3 2023-07: 5 commits · +14 −10 2023-08: 4 commits · +15 −8 2023-09: 3 commits · +13 −7 2023-10: 1 commit · +1 −1 2023-11: 0 commits · +0 −0 2023-12: 6 commits · +73 −32 2024-01: 0 commits · +0 −0 2024-02: 7 commits · +33 −28 2024-03: 3 commits · +9 −37 2024-04: 2 commits · +4 −7 2024-05: 2 commits · +8 −2 2024-06: 7 commits · +25 −31 2024-07: 2 commits · +4 −4 2024-08: 5 commits · +51 −27 2024-09: 1 commit · +3 −3 2024-10: 0 commits · +0 −0 2024-11: 1 commit · +9 −2 2024-12: 4 commits · +5 −12 2025-01: 0 commits · +0 −0 2025-02: 5 commits · +8 −65 2025-03: 1 commit · +2 −1 2025-04: 0 commits · +0 −0 2025-05: 0 commits · +0 −0 2025-06: 2 commits · +5 −9 2025-07: 0 commits · +0 −0 2025-08: 1 commit · +2 −2 2025-09: 3 commits · +214 −293 2025-10: 1 commit · +302 −0 2025-11: 5 commits · +18 −18 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 4 commits · +71 −68 2026-03: 1 commit · +3 −2 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    Recent upstream maintenance in 2024 touched drivers/nvdimm directly ("drivers/nvdimm: Assign parent for event_source device").

  2. lore.kernel.org

    The subsystem still receives fixes in 2026, including virtio_pmem bugfix backports ("nvdimm: virtio_pmem: serialize flush requests").

  3. docs.kernel.org

    Kernel documentation describes LIBNVDIMM PMEM, regions, namespaces, BTT, and ongoing kernel-facing functionality for persistent-memory devices.

  4. kernel.org

    Current kernel CXL documentation says the CXL PMEM infrastructure serves as a bridge to the LIBNVDIMM subsystem, so new CXL persistent-memory deployments still depend on this stack.

  5. qemu.org

    QEMU documents virtio-pmem as a current paravirtual persistent-memory device, indicating ongoing VM/guest deployments for the Linux nvdimm stack.

  6. micron.com

    Micron currently markets CXL-based memory-expansion products, supporting the conclusion that new deployments in 2025 still exist in the broader persistent-memory/CXL space that feeds into libnvdimm.

codex reasoning notes (technical)

Keep: the directory is active kernel driver code with recent file-level lore activity, including a 2024 direct nvdimm change and a 2026 virtio_pmem stable backport. Web search found current kernel docs for LIBNVDIMM and CXL showing CXL PMEM bridges into LIBNVDIMM rather than replacing it, plus current QEMU virtio-pmem docs and a current Micron CXL memory product page. Sources obtained via lore_activity (first two URLs) and web search/open on kernel/QEMU/vendor docs (remaining URLs). No credible removal signal surfaced from the sampled lore evidence; this looks like a maintained core stack for legacy NFIT PMEM, VM virtio-pmem, and newer CXL-backed persistent-memory flows.