Tagged articles
3 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Dec 14, 2025 · Fundamentals

Why Linux Kernel Memory Layout Is the Hidden Key to Preventing OOM Crashes

This article reveals how Linux kernel memory layout—its partitions, address allocation, and resource scheduling—directly impacts system stability, explains the roles of each memory region, demonstrates common pitfalls like fragmentation and dentry leaks, and provides practical debugging and optimization techniques for developers and operators.

Kernel MemoryLinuxMemory Management
0 likes · 60 min read
Why Linux Kernel Memory Layout Is the Hidden Key to Preventing OOM Crashes
Deepin Linux
Deepin Linux
Nov 20, 2023 · Fundamentals

Linux Memory Allocation Mechanisms: malloc, kmalloc, vmalloc, mmap, and Slab

This article explains Linux's flexible memory allocation system, covering user‑space malloc, kernel‑space kmalloc, vmalloc for large buffers, mmap for file and anonymous mappings, page allocation functions, the slab allocator, and memory pools, with detailed code examples and operational insights.

Linuxkmallocmalloc
0 likes · 30 min read
Linux Memory Allocation Mechanisms: malloc, kmalloc, vmalloc, mmap, and Slab