ladybird/Kernel/Heap
Tom 74fa894994 Kernel: Remove subheap from list before removing memory
When the ExpandableHeap calls the remove_memory function, the
subheap is assumed to be removed and freed entirely. remove_memory
may drop the underlying memory at any time, but it also may cause
further allocation requests. Not removing it from the list before
calling remove_memory could cause a memory allocation in that
subheap while remove_memory is executing. which then causes issues
once the underlying memory is actually freed.
2020-12-26 19:55:01 +01:00
..
Heap.h Kernel: Remove subheap from list before removing memory 2020-12-26 19:55:01 +01:00
kmalloc.cpp Kernel: Defer kmalloc heap contraction 2020-11-04 21:21:37 +01:00
kmalloc.h Kernel: Make Heap implementation reusable, and make kmalloc expandable 2020-08-30 11:39:38 +02:00
SlabAllocator.cpp Meta+Kernel: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
SlabAllocator.h Kernel: Move all code into the Kernel namespace 2020-02-16 01:27:42 +01:00