Tag

memory-mapping

0 views collected around this technical thread.

IT Services Circle
IT Services Circle
May 13, 2025 · Fundamentals

Understanding mmap: How Memory Mapping Improves I/O Performance

This article explains how mmap maps files into a process's virtual memory to eliminate double data copies and reduce system‑call overhead, offering performance gains, a simpler programming model, and discusses its limitations such as address‑space constraints and page‑fault latency.

I/O performanceLinuxMMAP
0 likes · 8 min read
Understanding mmap: How Memory Mapping Improves I/O Performance
Deepin Linux
Deepin Linux
Jan 4, 2025 · Fundamentals

Early I/O Memory Mapping (early_ioremap) in the Linux Kernel

The article explains the purpose, implementation, and usage of early I/O memory mapping (early_ioremap) in the Linux kernel, detailing its initialization, fixmap foundations, code flow, and differences from regular ioremap, with examples and kernel source snippets.

I/OLinux Kernelboot process
0 likes · 39 min read
Early I/O Memory Mapping (early_ioremap) in the Linux Kernel
Deepin Linux
Deepin Linux
Mar 7, 2024 · Fundamentals

Understanding Linux mmap: Memory Mapping, Shared Memory, and IPC Mechanisms

This article explains Linux's mmap mechanism, its relationship with shared memory, the advantages and disadvantages of mmap versus traditional shared memory, and provides practical code examples and detailed steps for using mmap in interprocess communication and large‑file handling.

IPCLinuxMMAP
0 likes · 19 min read
Understanding Linux mmap: Memory Mapping, Shared Memory, and IPC Mechanisms
Deepin Linux
Deepin Linux
Nov 27, 2023 · Fundamentals

Understanding Linux Memory Mapping (mmap): Concepts, APIs, and Source‑Code Analysis

This article explains the fundamentals of memory‑mapped files in Linux, covering the mmap/munmap interfaces, mapping types, protection flags, error handling, virtual‑memory structures, kernel implementation details, driver examples, and practical use‑cases such as shared memory and high‑performance I/O.

LinuxMMAPVirtual Memory
0 likes · 34 min read
Understanding Linux Memory Mapping (mmap): Concepts, APIs, and Source‑Code Analysis
Deepin Linux
Deepin Linux
Nov 9, 2023 · Fundamentals

Understanding Linux Memory Mapping (mmap): API, Implementation, and Use Cases

This article explains Linux memory mapping (mmap), covering its purpose, API parameters, different mapping types, internal kernel implementation, page‑fault handling, copy‑on‑write semantics, practical use cases, and includes a complete Objective‑C example demonstrating file mapping and manipulation.

Linux KernelMMAPVMA
0 likes · 27 min read
Understanding Linux Memory Mapping (mmap): API, Implementation, and Use Cases
Kuaishou Large Model
Kuaishou Large Model
Apr 23, 2021 · Game Development

How Does an NES Emulator Work? A Deep Dive into CPU, PPU, and Memory

This article explains the core principles of building a Nintendo Entertainment System (NES) emulator, covering the collaboration of CPU, PPU, and APU, memory mapping, ROM loading, instruction decoding, graphics rendering, and interrupt handling, with practical code examples.

CPUGame DevelopmentNES emulator
0 likes · 19 min read
How Does an NES Emulator Work? A Deep Dive into CPU, PPU, and Memory
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Nov 7, 2019 · Fundamentals

Unlocking Linux Memory: A Practical Guide to mmap and Its Real-World Uses

This article explains Linux’s virtual address space, the mmap system call, its prototype and typical applications—including shared file mapping, inter‑process communication, and file I/O optimization—while illustrating concepts with diagrams and code examples, and discusses alignment, copy‑on‑write, and memory swapping considerations.

LinuxMMAPVirtual Memory
0 likes · 9 min read
Unlocking Linux Memory: A Practical Guide to mmap and Its Real-World Uses