OPPO Kernel Craftsman
Nov 10, 2023 · Operations
Memory Compaction in the Linux Kernel: Mechanisms, Strategies, and Implementation Details
Linux’s memory compaction mitigates external fragmentation by moving movable pages, employing four strategies—direct, passive (kcompactd), proactive, and active—each invoking the compact_zone core with configurable compact_control parameters, migrate‑page and free‑page scanners, and distinct trigger and exit conditions.
Linux kernelMemory CompactionPage Migration
0 likes · 45 min read