Skip to content

Commit

Permalink
Initialize vma_list and vma_gc_lifo in vma_module_t
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Schuchart <[email protected]>
  • Loading branch information
devreal committed Jan 22, 2025
1 parent ecd206d commit 00c2194
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions opal/mca/rcache/base/rcache_base_vma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
vma_module->reg_cur_cache_size = 0;
(void) mca_rcache_base_vma_tree_init(vma_module);
}

Expand Down

0 comments on commit 00c2194

Please sign in to comment.