Slab Allocator

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
slash

Slab Allocator

Post by slash »

What is a slab allocator? Why it is important? How can it be implemented?
AR

Re:Slab Allocator

Post by AR »

I personally don't know but I found this doc for the Linux 2.4.0 Slab Allocator: http://www.cc.gatech.edu/grads/b/bradf/cs7001/proj2/

At a glance, it looks like a sort of advanced heap with the ability to declare certain sizes of blocks should be "cached" together for efficent allocation.
Post Reply