mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00
![]() This patch does two things: - Combines kmalloc_aligned() and kmalloc_aligned_cxx(). Templatizing the alignment parameter doesn't seem like a valuable enough optimization to justify having two almost-identical implementations. - Stores the real allocation size of an aligned allocation along with the other alignment metadata, and uses it to call kfree_sized() instead of kfree(). |
||
---|---|---|
.. | ||
Heap.h | ||
kmalloc.cpp | ||
kmalloc.h | ||
SlabAllocator.cpp | ||
SlabAllocator.h |