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
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_alloc
Fast allocator Optimized for fixed small memory block.
non_threadsafe_alloc
NonThreadSafeAlloc An allocator that does not support thread-safe