Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore type-based slab allocation improvements in the Linux kernel through this 15-minute conference talk from the Linux Plumbers Conference. Learn how moving beyond size-based allocation to type-aware allocation can enhance memory management by providing better alignment decisions, improved partitioning for security against type confusion attacks, and compile-time type safety through explicitly typed return values instead of void pointers. Examine the current limitations of generic slab allocator interfaces and discover how exposing type information to the allocator enables more informed choices about alignment and partitioning strategies. Review the proposed kmalloc_obj() interface evolution through its v4 iteration and participate in discussions about API convergence and potential adaptation to cover additional allocation functions like devm_kmalloc.