From 00f17d7a204d8add2426cc0b26a2158fd1dc62f6 Mon Sep 17 00:00:00 2001 From: nodist Date: Mon, 22 Jun 2026 16:00:30 -0400 Subject: slab allocted through alloc --- docs/application/type.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'docs/application/type.md') diff --git a/docs/application/type.md b/docs/application/type.md index 5ca4469..c985b35 100644 --- a/docs/application/type.md +++ b/docs/application/type.md @@ -10,7 +10,7 @@ #define KPL_TYPE_BLOCKS_SIZE UINT16_MAX typedef struct { - uint16_t block_index, array_index; + uint16_t slab_index, slab_array_index; } kpl_type_ptr; static const kpl_type_ptr kpl_type_ptr_null = { UINT16_MAX, UINT16_MAX }; @@ -39,9 +39,5 @@ typedef struct { kpl_type_body body; } kpl_type; -static size_t type_array_block_index; - -static kpl_type *type_array_blocks[KPL_TYPE_BLOCKS_SIZE]; - -static kpl_type_ptr type_pool_head; +// TODO slab store for kpl_type_ptr ``` -- cgit v1.2.3