From c426258d595e2b9490f037b8d8a768b6257d09f1 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 28 Mar 2024 01:34:07 -0400 Subject: kernel: vm_dynalloc: Remove TODOs Signed-off-by: Ian Moffett --- sys/vm/vm_dynalloc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/vm/vm_dynalloc.c b/sys/vm/vm_dynalloc.c index 8ec7aed..0b8d668 100644 --- a/sys/vm/vm_dynalloc.c +++ b/sys/vm/vm_dynalloc.c @@ -38,7 +38,6 @@ void * dynalloc(size_t sz) { - /* TODO: Per CPU */ struct vm_ctx *vm_ctx = vm_get_ctx(); void *tmp; @@ -57,7 +56,6 @@ dynalloc(size_t sz) void * dynrealloc(void *old_ptr, size_t newsize) { - /* TODO: Per CPU */ struct vm_ctx *vm_ctx = vm_get_ctx(); void *tmp; @@ -75,7 +73,6 @@ dynrealloc(void *old_ptr, size_t newsize) void dynfree(void *ptr) { - /* TODO: Per CPU */ struct vm_ctx *vm_ctx = vm_get_ctx(); spinlock_acquire(&vm_ctx->dynalloc_lock); -- cgit v1.2.3