From 4c2846cee17f81751a25222ebbdf3b1d2cc53422 Mon Sep 17 00:00:00 2001 From: Joseph Schuchart Date: Wed, 22 Jan 2025 09:35:16 -0500 Subject: [PATCH] Initialize vma_list and vma_gc_lifo in vma_module_t Signed-off-by: Joseph Schuchart --- opal/mca/rcache/base/rcache_base_vma.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opal/mca/rcache/base/rcache_base_vma.c b/opal/mca/rcache/base/rcache_base_vma.c index d45e6241ec2..d1dea7f0e88 100644 --- a/opal/mca/rcache/base/rcache_base_vma.c +++ b/opal/mca/rcache/base/rcache_base_vma.c @@ -39,7 +39,10 @@ static void mca_rcache_base_vma_module_construct(mca_rcache_base_vma_module_t *vma_module) { + OBJ_CONSTRUCT(&vma_module->vma_list, opal_list_t); + OBJ_CONSTRUCT(&vma_module->vma_gc_lifo, opal_lifo_t); OBJ_CONSTRUCT(&vma_module->vma_lock, opal_recursive_mutex_t); + reg_cur_cache_size = 0; (void) mca_rcache_base_vma_tree_init(vma_module); }