summaryrefslogtreecommitdiff
path: root/sys/kern/mm/kalloc.c
diff options
context:
space:
mode:
authorstefan <stefan@s00.xyz>2023-04-08 20:42:18 -0400
committerstefan <stefan@s00.xyz>2023-04-08 20:42:18 -0400
commit1aac36f788834699b6891aea7a83eb950bd5e8f6 (patch)
tree18e0a6c26b83e71c101193e60149f49b1641daf0 /sys/kern/mm/kalloc.c
parenta1a97aa7b2b0c3d1f3b6766446d605f83de1c561 (diff)
downloadsv-1aac36f788834699b6891aea7a83eb950bd5e8f6.tar.gz
no idea whot i changed lol
Diffstat (limited to 'sys/kern/mm/kalloc.c')
-rw-r--r--sys/kern/mm/kalloc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/mm/kalloc.c b/sys/kern/mm/kalloc.c
index f354648..bfd4f3f 100644
--- a/sys/kern/mm/kalloc.c
+++ b/sys/kern/mm/kalloc.c
@@ -46,10 +46,8 @@ kfree(void *p)
void
kalloc_init(void)
{
- printf("1\n");
freenode_t *p = (freenode_t*)HEAP_START;
for (;(unsigned long)p + PAGE_SIZE <= (HEAP_START + 0x100000); p += PAGE_SIZE) {
- printf("freeing page at %p", p);
kfree(p);
}
}