Tag
mmap
- Aug 11, 2026 Demand Paging and the First-Touch Fault What happens between mmap returning and a page becoming resident, the three fault outcomes a handler must distinguish, and why anonymous memory is zeroed lazily. memory systems
- May 25, 2026 Zero-Copy Paths: What sendfile, splice, and mmap Remove Which memory copies each zero-copy interface eliminates, which ones remain, and the page-cache, alignment, and lifetime constraints that decide whether the saving is real. performance engineering
- Apr 21, 2026 Heap Growth and Release: brk, mmap, and Trim How a process obtains heap memory from the kernel, why a large allocation bypasses the main heap entirely, and what returning pages actually costs at the page-table level. memory systems
- Jan 20, 2026 The Page Cache and the Writeback Path Where a written byte actually lives before it reaches the device, how dirty pages are tracked and flushed, and why write() returning does not mean the data is on disk. filesystems
- Oct 17, 2025 mmap and the Page-Fault Path: What a Mapping Really Does A memory mapping installs page-table entries lazily, so the first touch of each page faults into the page cache. The fault path, the shared and private cases, and the failure modes that follow from the split between mapping and page tables. systems programming
- Jun 16, 2025 Memory-Mapped Persistence: What msync and DAX Actually Guarantee How a shared mapping becomes durable, why msync is not fsync, what direct access bypasses the page cache, and where the mapping and the filesystem metadata disagree after a crash. memory systems