[Zion] Free memory that was allocated with the slab allocator.
This reduces the number of active allocs by ~ 200. Size 8: 142 -> 2 Size 16: 319 > 313 Size 32: 364-> 312
This commit is contained in:
parent
6d27ee5dc5
commit
659f122c9e
6 changed files with 50 additions and 15 deletions
|
|
@ -23,7 +23,7 @@ extern "C" void zion() {
|
|||
|
||||
early_dbgln("[boot] Init Physical Memory Manager.");
|
||||
phys_mem::InitBootstrapPageAllocation();
|
||||
KernelHeap heap(0xFFFFFFFF'60000000, 0xFFFFFFFF'80000000);
|
||||
KernelHeap heap;
|
||||
phys_mem::InitPhysicalMemoryManager();
|
||||
heap.InitializeSlabAllocators();
|
||||
phys_mem::DumpRegions();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue