pub struct KStackAllocator {
pool: Vec<u64>,
}
Expand description
wrapper around the global allocator with caching
Fields§
§pool: Vec<u64>
Implementations§
Source§impl KStackAllocator
TODO: the heap allocator is primitive atm and it may fail to allocate new
kernel stack (64K here) due to fragmentation. It may be a good idea to
reserve some memory during system init to guarantee that we can at least
impl KStackAllocator
TODO: the heap allocator is primitive atm and it may fail to allocate new kernel stack (64K here) due to fragmentation. It may be a good idea to reserve some memory during system init to guarantee that we can at least