Sort of 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
Beastie
Posts: 14
Joined: Sun Jan 21, 2007 6:31 pm

Sort of allocator

Post by Beastie »

Hi,

What is the difference between these terms:
1- Zone Allocator
2- Slab Allocator
3- Buddy Allocator

I know that the zone allocator divides memory into 3 zone, but i don't how it actually does the allocation, does it include another allocator like slab, or a buddy system ?
I know also that the buddy system divides memory into the power of 2.
What major kernel uses each of these allocators?
Which of them used for kernel-space allocation and which for user-space allocation?

Thank a lot
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

Google is your friend.
Post Reply