GUIDES
Linux Kernel Internal API Guide
A reference guide for the Linux kernel’s internal APIs, covering the building blocks used across drivers and subsystems.
View the full interactive guide: Linux Kernel Internal API Guide
Topics covered:
- Memory —
kmalloc,kzalloc,vmalloc, page allocator, GFP flags,devm_helpers - Locking — spinlocks, mutexes, RW semaphores, seqlocks, RCU, atomic operations
- Data Structures —
list_head,hlist, XArray, red-black trees - Work Deferral — workqueues, tasklets,
timer_list, hrtimers - Reference Counting —
kref,refcount_t - Device Model —
kobject, platform driver skeleton withdevm_ - Logging —
printk,pr_*,dev_*, rate limiting, dynamic debug