Tagged articles
3 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Apr 7, 2025 · Fundamentals

Understanding Linux Kernel Page Reclamation Mechanisms

This article explains how Linux manages memory through page reclamation, detailing the role of LRU algorithms, page classification, reverse mapping, direct and asynchronous reclaim paths, and the OOM killer, while providing code examples and practical tuning advice.

OOM killerkernelpage reclamation
0 likes · 62 min read
Understanding Linux Kernel Page Reclamation Mechanisms
Linux Kernel Journey
Linux Kernel Journey
Sep 12, 2024 · Fundamentals

Understanding Linux Memory Allocation: Fast Path vs. Slow Path in the Source Code

This article dissects the Linux kernel's page allocation mechanisms, explaining how alloc_pages() follows a fast‑path using low watermarks and falls back to a slow‑path that triggers kswapd, direct reclaim, and compaction, while also detailing the corresponding page‑freeing functions and their internal data structures.

Linux kernelbuddy allocatorcompaction
0 likes · 30 min read
Understanding Linux Memory Allocation: Fast Path vs. Slow Path in the Source Code
IT Services Circle
IT Services Circle
May 24, 2022 · Fundamentals

Understanding Linux Memory Management, Page Reclamation, and OOM Killer

This article explains Linux virtual memory concepts, the process of memory allocation, page fault handling, background and direct memory reclamation methods, LRU-based page types, NUMA considerations, tuning parameters like swappiness and min_free_kbytes, and strategies to prevent OOM killer termination.

LinuxMemory ManagementNUMA
0 likes · 18 min read
Understanding Linux Memory Management, Page Reclamation, and OOM Killer