The Developer Blog

Shivam's deep dives, tutorials, and articles on kernel development, systems programming, and modern web architectures.

The vmalloc Deep Dive: Trees, Tables, and Per-CPU Tricks
Article

The vmalloc Deep Dive: Trees, Tables, and Per-CPU Tricks

A deep technical dive into the Linux kernel's vmalloc allocator, explaining how it uses augmented RB-trees to find free space, performs page table walks to map physical pages, and handles per-CPU virtual memory allocation.

By Shivam Kalra

Newsletter

Subscribe

I'll send you an email whenever I publish a new post. Unsubscribe at any time.