[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:
Drew Galbraith 2023-11-15 12:53:14 -08:00
parent 6d27ee5dc5
commit 659f122c9e
6 changed files with 50 additions and 15 deletions

View file

@ -48,3 +48,5 @@ class SlabAllocator {
uint64_t elem_size_;
glcr::IntrusiveList<Slab> slabs_;
};
void SlabFree(void* addr);