ladybird/Kernel/Heap
Andreas Kling 6eb48f7df6 Kernel: Consolidate kmalloc_aligned() and use kfree_sized() within
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().
2021-12-26 21:22:59 +01:00
..
Heap.h Kernel: Make kmalloc heap expansion kmalloc-free 2021-12-25 22:07:59 +01:00
kmalloc.cpp Kernel: Consolidate kmalloc_aligned() and use kfree_sized() within 2021-12-26 21:22:59 +01:00
kmalloc.h Kernel: Consolidate kmalloc_aligned() and use kfree_sized() within 2021-12-26 21:22:59 +01:00
SlabAllocator.cpp Kernel: Use kfree_sized() in SlabAllocator 2021-12-26 21:22:59 +01:00
SlabAllocator.h Kernel: Add missing include to SlabAllocator 2021-12-09 22:53:42 -08:00