From 103f3e8ca854c5ee83e2d5525d574d10964b583a Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 23 May 2024 03:21:16 -0400 Subject: kernel: vm: Add alloc and avl stats Signed-off-by: Ian Moffett --- sys/include/vm/physseg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/include') diff --git a/sys/include/vm/physseg.h b/sys/include/vm/physseg.h index af8cae8..956f82f 100644 --- a/sys/include/vm/physseg.h +++ b/sys/include/vm/physseg.h @@ -35,6 +35,8 @@ struct physmem_stat { size_t reserved_kib; /* Reserved memory */ size_t total_kib; /* Total memory */ + size_t avl_kib; /* Available memory */ + size_t alloc_kib; /* Allocated physical memory */ }; void vm_physseg_init(void); -- cgit v1.2.3