diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-28 01:34:07 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-28 01:34:07 -0400 |
commit | c426258d595e2b9490f037b8d8a768b6257d09f1 (patch) | |
tree | 44c3c13cb766d84d6ece8e49523ff724c818030b /sys | |
parent | 58ee38d7cec926bc235dc124fcbbb8a59e849777 (diff) |
kernel: vm_dynalloc: Remove TODOs
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/vm_dynalloc.c | 3 |
1 files changed, 0 insertions, 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); |