Sort of allocator
Posted: Wed Jan 09, 2008 8:42 am
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
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