next up previous contents index
Next: 9. Process Address Space Up: 8. Slab Allocator Previous: 8.6 Slab Allocator Initialisation   Contents   Index


8.7 Interfacing with the Buddy Allocator

The slab allocator doesn't come with pages attached, it must ask the physical page allocator for its pages. For this two interfaces are provided, kmem_getpages() and kmem_freepages(). They are basically wrappers around the buddy allocators API so that slab flags will be taken into account for allocations.


Mel 2003-01-14