From d58880b5b09974c6511eb29fc5e25920a8649f03 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 26 Dec 2021 01:25:02 +0100 Subject: [PATCH] Kernel: Write to debug log when creating new kmalloc subheaps --- Kernel/Heap/kmalloc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Kernel/Heap/kmalloc.cpp b/Kernel/Heap/kmalloc.cpp index b6e2ff1737..17757578a0 100644 --- a/Kernel/Heap/kmalloc.cpp +++ b/Kernel/Heap/kmalloc.cpp @@ -55,6 +55,7 @@ struct KmallocGlobalData { void add_subheap(u8* storage, size_t storage_size) { + dbgln("Adding kmalloc subheap @ {} with size {}", storage, storage_size); auto* subheap = new (storage) KmallocSubheap(storage + PAGE_SIZE, storage_size - PAGE_SIZE); subheaps.append(*subheap); }