[−][src]Crate slabmalloc
A slab allocator implementation for small objects (< architecture page size).
The organization is as follows (top-down):
- A
ZoneAllocatormanages manySCAllocatorand can satisfy requests for different allocation sizes. - A
SCAllocatorallocates objects of exactly one size. It holds its data in a ObjectPageList. - A
ObjectPagecontains allocated objects and associated meta-data. - A
PageProvideris 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. |