From 8e403358b5a7ec3a5933257a95aa528c7f503ba0 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 14 Jul 2024 16:39:43 +0200 Subject: kernel/malloc: clean up the code a little bit The bitmap functions now accept page addresses so I don't have to handle raw bitmap indexes, which was kinda complex. kmalloc_sanity is now not visible to other code as it wasn't really that useful in the first place. --- src/kernel/syscalls.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/kernel/syscalls.c') diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index 7fcbd2a..39115e7 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -147,8 +147,6 @@ long _sys_mount(hid_t hid, const char __user *path, long len) { mount->refs = 1; proc_cur->mount = mount; - kmalloc_sanity(mount); - kmalloc_sanity(mount->prefix); SYSCALL_RETURN(0); fail: -- cgit v1.2.3