public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [ANNOUNCE] DAXFS: A zero-copy, dmabuf-friendly filesystem for shared memory
@ 2026-01-24 17:10 Cong Wang
  2026-01-26  4:04 ` Gao Xiang
  0 siblings, 1 reply; 9+ messages in thread
From: Cong Wang @ 2026-01-24 17:10 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: linux-kernel, Cong Wang

Hello,

I would like to introduce DAXFS, a simple read-only filesystem
designed to operate directly on shared physical memory via the DAX
(Direct Access).

Unlike ramfs or tmpfs, which operate within the kernel’s page cache
and result in fragmented, per-instance memory allocation, DAXFS
provides a mechanism for zero-copy reads from contiguous memory
regions. It bypasses the traditional block I/O stack, buffer heads,
and page cache entirely.

Key Features
- Zero-Copy Efficiency: File reads resolve to direct memory loads,
eliminating page cache duplication and CPU-driven copies.
- True Physical Sharing: By mapping a contiguous physical address or a
dma-buf, multiple kernel instances or containers can share the same
physical pages.
- Hardware Integration: Supports mounting memory exported by GPUs,
FPGAs, or CXL devices via the dma-buf API.
- Simplicity: Uses a self-contained, read-only image format with no
runtime allocation or complex device management.

Primary Use Cases
- Multikernel Environments: Sharing a common Docker image across
independent kernel instances via shared memory.
- CXL Memory Pooling: Accessing read-only data across multiple hosts
without network I/O.
- Container Rootfs Sharing: Using a single DAXFS base image for
multiple containers (via OverlayFS) to save physical RAM.
- Accelerator Data: Zero-copy access to model weights or lookup tables
stored in device memory.

The source includes a kernel module and a mkdaxfs user-space tool for
image creation, it is available here:
https://github.com/multikernel/daxfs

I am looking forward to your feedback on the architecture and its
potential integration to the upstream Linux kernel.

Best regards,
Cong Wang

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-01-27  0:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-24 17:10 [ANNOUNCE] DAXFS: A zero-copy, dmabuf-friendly filesystem for shared memory Cong Wang
2026-01-26  4:04 ` Gao Xiang
2026-01-26 17:38   ` Cong Wang
2026-01-26 19:16     ` Matthew Wilcox
2026-01-26 19:48       ` Cong Wang
2026-01-26 20:13         ` Gao Xiang
2026-01-26 20:40         ` Matthew Wilcox
2026-01-27  0:02           ` Cong Wang
2026-01-27  0:55             ` Gao Xiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox