From 473112b1541cf81fa3670e0d1cb6de1c4a3281de Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 16 Jul 2024 23:55:32 +0200 Subject: kernel: make kmalloc accept a numeric "tag" instead of a freeform description This will both let me save space in the allocation header, and make the debugprint more readable. --- src/kernel/handleset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/handleset.c') diff --git a/src/kernel/handleset.c b/src/kernel/handleset.c index fc2d426..cf8160b 100644 --- a/src/kernel/handleset.c +++ b/src/kernel/handleset.c @@ -7,7 +7,7 @@ HandleSet * hs_init(void) { - HandleSet *hs = kzalloc(sizeof *hs, "handles"); + HandleSet *hs = kzalloc(sizeof *hs, TagHandleset); hs->refcount = 1; return hs; } -- cgit v1.2.3