[−][src]Crate slabmalloc
A slab allocator implementation for small objects (< architecture page size).
The organization is as follows (top-down):
- A
ZoneAllocator
manages manySCAllocator
and can satisfy requests for different allocation sizes. - A
SCAllocator
allocates objects of exactly one size. It holds its data in a ObjectPageList. - A
ObjectPage
contains allocated objects and associated meta-data. - A
PageProvider
is provided by the client and used by the SCAllocator to allocate ObjectPage.
Structs
ObjectPage | Holds allocated data. |
SCAllocator | A slab allocator allocates elements of a fixed size. |
SafeZoneAllocator | |
ZoneAllocator | A zone allocator. |
Traits
PageProvider | The memory backing as used by the SCAllocator. |