Tag

Anonymous Pages

1 views collected around this technical thread.

Deepin Linux
Deepin Linux
Apr 5, 2025 · Fundamentals

Understanding Linux Kernel Reverse Mapping (RMAP): Concepts, Data Structures, and Implementation

This article explains the Linux kernel reverse‑mapping (RMAP) mechanism, covering its historical background, core concepts, key data structures such as anon_vma and anon_vma_chain, and the detailed workflow for page creation, fork handling, and page reclaim or migration, with full code examples.

Anonymous PagesMemory ManagementRMAP
0 likes · 27 min read
Understanding Linux Kernel Reverse Mapping (RMAP): Concepts, Data Structures, and Implementation
Deepin Linux
Deepin Linux
Jun 4, 2024 · Fundamentals

Reverse Mapping (RMAP) Mechanism in the Linux Kernel: Concepts, Data Structures, and Implementation

The article explains Linux kernel reverse‑mapping (RMAP), describing its purpose for efficient page‑reclaim, the underlying data structures such as vm_area_struct, anon_vma and anon_vma_chain, and shows how anonymous and file pages are tracked and unmapped through detailed code examples.

Anonymous PagesMemory ManagementPage Tables
0 likes · 16 min read
Reverse Mapping (RMAP) Mechanism in the Linux Kernel: Concepts, Data Structures, and Implementation