Operating systems and hardware 0/198

Operating systems and hardware

Memory allocators

How malloc finds free memory, fragmentation, free lists, arenas and fixed-size pools. An object pool over one buffer avoids the general allocator on a hot path.

0 / 1 problems solved 0 / 11 questions solved

Questions

0/11 solved
Question Tags Difficulty Success
1. Seven Kilobyte Request
buddy-allocatorinternal-fragmentation +2
Medium 67%
2. Best Fit vs First Fit
first_fitbest_fit +3
Medium 72%
3. Slab Allocator vs General Purpose
slab_allocatorobject_cache +3
Medium 83%
4. Minus One Header
allocatorsfree-list +2
Medium 74%
5. Memory Fragmentation Types
Memory ManagementOperating Systems
Medium 33%
6. Buddy Still In Use
buddy-allocatorcoalescing +2
Medium 78%
7. The Fit That Survives
free-listfirst-fit +2
Medium 39%
8. Twenty Bytes Costs Thirty-Two
internal-fragmentationalignment +2
Medium 80%
9. Three Bytes Into The Chunk
chunk-headerheap-corruption +2
Medium 64%
10. The RSS That Would Not Fall
resident-set-sizeheap-trimming +2
Medium 78%
11. Twenty Three Microseconds Gone
slab-allocatorobject-caching +2
Hard 92%