~/talk

Modernizing Vmalloc With Maple Tree: Design, Challenges, and Trade Offs

links:none on file
slides:none on file

Migration replaces rb-tree vmalloc indexing with Maple Tree, removes augmented subtree callbacks, and shrinks vm_area metadata from ~72 to ~48 bytes delivering 33% metadata savings per allocation. Per-shard and per-CPU preallocated pools avoid global lookups for small allocations. Benchmarks show better SMP scaling as concurrency rises, with improvements growing from ~29% to up to 63% scaling gain on heavy parallel allocations; an RCU read-side design promises larger gains.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:04What is vmalloc in Linux
  3. 2:08Motivation for redesigning vmalloc
  4. 3:10Kernel memory allocators overview
  5. 5:18Per-CPU data fundamentals
  6. 6:20kmalloc vs vmalloc differences
  7. 7:23vmap structure deep dive
  8. 8:46vmalloc internal allocation flow
  9. 10:52Why modernization matters now
  10. 11:33Maple tree advantages explained
  11. 14:03Red-black tree limitations
  12. 16:32Maple tree RCU support
  13. 17:57Maple tree structure overview
  14. 19:22Maple tree cursor benefits
  15. 20:24VMA migration to Maple tree precedent
  16. 21:04High-level vmalloc design changes
  17. 23:34Migration implementation details
  18. 25:17Memory savings per allocation
  19. 26:43Lazy release and recovery path
  20. 27:47Per-CPU allocator optimization
  21. 28:33Testing on Qualcomm Snapdragon
  22. 29:59Benchmarking results overview
  23. 31:02Concurrency scaling improvements
  24. 32:27Future RCU-based Maple tree migration
  25. 33:10Lessons learned and next steps
  26. 35:18Learning to choose Maple tree candidates
  27. 37:27Q&A session begins
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.