summaryrefslogtreecommitdiff
path: root/src/kernel/malloc.c
diff options
context:
space:
mode:
authordzwdz2024-07-15 14:06:32 +0200
committerdzwdz2024-07-15 14:06:32 +0200
commit4fbb7e3c43440bd7eb4bf081c5be51dfe6f6e088 (patch)
treee656dfb788a209eee97c36691f6ccb97708bfe78 /src/kernel/malloc.c
parent0be35869d226aa2edc47dea07e0aca1c73f677d5 (diff)
kernel: free list page allocator
Yay for guaranteed O(1) insertions, even if iostress seems a bit slower.
Diffstat (limited to 'src/kernel/malloc.c')
-rw-r--r--src/kernel/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/malloc.c b/src/kernel/malloc.c
index 7385cf3..44434ed 100644
--- a/src/kernel/malloc.c
+++ b/src/kernel/malloc.c
@@ -27,7 +27,7 @@ page_amt(size_t bytes)
}
void
-mem_debugprint(void)
+kmalloc_debugprint(void)
{
size_t count = 0, bytes = 0, pages = 0;
kprintf("[kern] current allocations:\n");