Kernel Memory¶
This section organizes the Linux kernel memory management topics into reusable reference pages.
The topics focus on how the Linux kernel manages physical pages, kernel object allocation, and dynamic memory allocation. Together they explain the complete allocation path from page allocation to object allocation used by kmalloc().
Learning Path¶
| Step | Topic | Main Idea | Related Labs |
|---|---|---|---|
| 1 | Kernel Memory Management | Understand physical memory pages, struct page, the Buddy Allocator, allocation order, fragmentation, and the relationship between Buddy and SLUB. |
Day90 |
| 2 | Kernel Memory Allocation | Understand the kernel dynamic allocation APIs (kmalloc(), kzalloc(), kcalloc(), kfree()) and when to use them. |
Day90 |
| 3 | SLUB Allocator | Understand kmem_cache, slabs, object allocation, bitmap management, object reuse, and integration with the Buddy Allocator. |
Day91 |