ladybird/Kernel/Heap
Andreas Kling d8a3e2fc4e Kernel: Don't memset() allocated memory twice in kcalloc()
This patch adds a way to ask the allocator to skip its internal
scrubbing memset operation. Before this change, kcalloc() would scrub
twice: once internally in kmalloc() and then again in kcalloc().

The same mechanism already existed in LibC malloc, and this patch
brings it over to the kernel heap allocator as well.

This solves one FIXME in kcalloc(). :^)
2022-12-05 10:29:18 +01:00
..
Heap.h Kernel: Don't memset() allocated memory twice in kcalloc() 2022-12-05 10:29:18 +01:00
kmalloc.cpp Kernel: Don't memset() allocated memory twice in kcalloc() 2022-12-05 10:29:18 +01:00
kmalloc.h Everywhere: Run clang-format 2022-12-03 23:52:23 +00:00