Tag

Buddy Allocator

1 views collected around this technical thread.

Deepin Linux
Deepin Linux
May 26, 2025 · Fundamentals

Understanding Linux Memory Management: Bootmem, Memblock, Buddy Allocator, and Slab Allocator

This article provides a comprehensive overview of Linux memory management, detailing the roles and mechanisms of the early boot memory allocator, the memblock subsystem, the buddy allocator for physical pages, and the slab allocator for small objects, including their data structures, algorithms, and practical usage scenarios.

BootmemBuddy AllocatorLinux
0 likes · 72 min read
Understanding Linux Memory Management: Bootmem, Memblock, Buddy Allocator, and Slab Allocator
Deepin Linux
Deepin Linux
Dec 4, 2023 · Fundamentals

Linux Memory Management: Bootmem, Buddy, and Slab Allocators Explained

This article provides an in‑depth overview of Linux memory management, covering the three primary allocators—bootmem, buddy, and slab—including their data structures, initialization, allocation and free mechanisms, code examples, and the role of memblock and zone watermarks.

AllocatorsBuddy AllocatorLinux
0 likes · 67 min read
Linux Memory Management: Bootmem, Buddy, and Slab Allocators Explained
Architects' Tech Alliance
Architects' Tech Alliance
Feb 28, 2022 · Fundamentals

Comprehensive Guide to Linux Memory Management and Allocation Algorithms

This article provides an in‑depth overview of Linux memory architecture, including address spaces, segmentation and paging, memory allocation strategies such as the buddy and slab allocators, kernel and user‑space memory pools, DMA considerations, common pitfalls, and practical tools for monitoring and optimizing memory usage.

Buddy AllocatorDMALinux
0 likes · 19 min read
Comprehensive Guide to Linux Memory Management and Allocation Algorithms