Tagged articles
kswapd
12 articles · Page 1 of 1
This article explains Linux kernel threads from basic concepts to deep internals, covering their data structures, creation, execution flow, scheduling strategies, context‑switch overhead, synchronization primitives, interrupt handling, and a practical kswapd memory‑reclaim case study, providing concrete code examples and step‑by‑step analysis.
LinuxSchedulingkernel
0 likes · 42 min read

This article explains how Linux memory watermarks, kswapd, direct reclaim, and the OOM Killer interact, provides detailed code examples, shows real‑world case studies, and offers practical tuning steps—including kernel parameters, cgroup limits, and monitoring tools—to prevent system stalls and crashes.
LinuxOOM killerSystem Performance
0 likes · 41 min read

The article provides an in‑depth technical analysis of Linux’s memory reclamation system, covering zones, watermarks, page flags, LRU lists, the shrink_zone workflow, kswapd, direct reclaim, OOM handling, page‑cache structures, and practical tuning tips for optimal performance.
LRULinuxPage Cache
0 likes · 97 min read

This article explains Linux swap fundamentals, detailing how the kernel uses swap partitions or files, the role of the swappiness parameter in balancing cache reclamation versus anonymous page swapping, the operation of kswapd, and the impact of memory watermarks on reclamation decisions.
LinuxSwapWatermarks
0 likes · 20 min read

This article explains Linux's page reclamation mechanisms, covering the LRU list algorithm, the second‑chance method with PG_active and PG_referenced flags, and the direct reclaim path triggered by alloc_page, including the role of kswapd, waiting queues, and key kernel functions such as lru_cache_add, mark_page_accessed, try_to_free_pages, and throttle_direct_reclaim.
LRULinuxdirect reclaim
0 likes · 12 min read

This article explains Linux virtual memory, the page‑fault allocation process, the two memory‑reclaim paths (kswapd and direct reclaim), OOM killer scoring, swappiness tuning, NUMA‑aware reclamation, and practical steps to protect critical processes from being killed.
LinuxNUMAOOM killer
0 likes · 19 min read

This article explains how the Linux kernel’s kswapd thread is created, when it is awakened, and the detailed steps it follows—including LRU management, zone migration, balance_pgdat, and shrink functions—to reclaim memory efficiently on memory‑constrained devices.
LRULinuxkernel
0 likes · 22 min read

This article documents a system crash triggered by a memory‑leak in a network‑chip SDK, explains how low free memory and the kswapd process lead to deadlock, and shows how adjusting the kernel parameter min_free_kbytes can prevent the freeze while highlighting the importance of resource monitoring and tuning.
LinuxMemory LeakPerformance Monitoring
0 likes · 11 min read


ITPUBMay 14, 2018 · Fundamentals
This article explains Linux kernel memory management, covering process address space allocation, OOM selection criteria, memory mapping types, cache behavior, tmpfs, and both manual and automatic memory reclamation mechanisms.
LinuxOOMPage Cache
0 likes · 18 min read


ITPUBJun 2, 2017 · Fundamentals
This article explains Linux’s swap subsystem in the 4.4 kernel, covering what swap does, the role of swappiness, memory watermarks, kswapd’s operation, swap partition priority, and how the kernel balances anonymous page swapping with file‑cache reclamation.
kswapdswappiness
0 likes · 12 min read

This article explains Linux swap fundamentals, the role of swappiness, kswapd behavior, memory watermarks, and related kernel parameters, providing practical guidance on configuring swap priority, zone reclaim, and other settings to optimize system performance under various workloads.
LinuxSwapWatermarks
0 likes · 20 min read

This article explains how Linux's Page Frame Reclaim Algorithm categorizes pages, uses kswapd and pdflush threads, and relies on vmstat parameters to manage virtual memory, illustrating the process with examples and key configuration settings.
LinuxPFRAkswapd
0 likes · 4 min read
