Tag

Allocators

1 views collected around this technical thread.

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 AllocatorKernel
0 likes · 67 min read
Linux Memory Management: Bootmem, Buddy, and Slab Allocators Explained