From 2a256aa4f1abb65afa6f3856998bfe00ac960d61 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 17 Apr 2022 12:22:04 +0300 Subject: improve node subsys + More robust alignment and less memory usage for status, from enum to bit --- include/apos/nodes.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/apos/nodes.h') diff --git a/include/apos/nodes.h b/include/apos/nodes.h index 80888e1..0780f75 100644 --- a/include/apos/nodes.h +++ b/include/apos/nodes.h @@ -16,6 +16,10 @@ struct node_region { struct node_root { size_t node_size; + size_t max_nodes; + + ptrdiff_t bitmap; + ptrdiff_t first_node; struct node_region *head; struct node_region *av_head; -- cgit v1.3