mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-24 15:13:57 +00:00
e334c36757
Each allocation header was tracking its index into the chunk bitmap, but that index can be computed from the allocation address anyway. Removing this means that each allocation gets 4 more bytes of memory and this avoids allocating an extra chunk in many cases. :^) |
||
---|---|---|
.. | ||
kmalloc.cpp | ||
kmalloc.h | ||
SlabAllocator.cpp | ||
SlabAllocator.h |