Crate buddy_alloc
source ·Re-exports
pub use crate::buddy_alloc::BuddyAllocParam;
pub use crate::fast_alloc::FastAllocParam;
pub use crate::non_threadsafe_alloc::NonThreadsafeAlloc;
Modules
- Buddy alloc, This code heavily references from https://pdos.csail.mit.edu/6.828/2019/lec/malloc.c Check wiki to learn the algorithm: https://en.wikipedia.org/wiki/Buddy_memory_allocation
- Fast allocator Optimized for fixed small memory block.
- NonThreadSafeAlloc An allocator that does not support thread-safe