File tree 4 files changed +6
-9
lines changed
4 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 13
13
* Copyright (c) 2015-2018 Los Alamos National Security, LLC. All rights
14
14
* reserved.
15
15
* Copyright (c) 2020 Google, LLC. All rights reserved.
16
+ * Copyright (c) 2025 NVIDIA Corporation. All rights reserved.
16
17
* $COPYRIGHT$
17
18
*
18
19
* Additional copyrights may follow
@@ -85,6 +86,7 @@ static void opal_interval_tree_construct(opal_interval_tree_t *tree)
85
86
tree -> tree_size = 0 ;
86
87
tree -> lock = 0 ;
87
88
tree -> reader_count = 0 ;
89
+ tree -> reader_id = 0 ;
88
90
tree -> epoch = 0 ;
89
91
90
92
/* set all reader epochs to UINT_MAX. this value is used to simplify
Original file line number Diff line number Diff line change 15
15
* Copyright (c) 2009 IBM Corporation. All rights reserved.
16
16
* Copyright (c) 2015-2018 Los Alamos National Security, LLC. All rights
17
17
* reserved.
18
+ * Copyright (c) 2025 NVIDIA Corporation. All rights reserved.
18
19
*
19
20
* $COPYRIGHT$
20
21
*
@@ -43,9 +44,6 @@ struct mca_rcache_base_registration_t;
43
44
struct mca_rcache_base_vma_module_t {
44
45
opal_object_t super ;
45
46
opal_interval_tree_t tree ;
46
- opal_list_t vma_list ;
47
- opal_lifo_t vma_gc_lifo ;
48
- size_t reg_cur_cache_size ;
49
47
opal_mutex_t vma_lock ;
50
48
};
51
49
typedef struct mca_rcache_base_vma_module_t mca_rcache_base_vma_module_t ;
Original file line number Diff line number Diff line change 14
14
* Copyright (c) 2006 Voltaire. All rights reserved.
15
15
* Copyright (c) 2007 Mellanox Technologies. All rights reserved.
16
16
* Copyright (c) 2009 IBM Corporation. All rights reserved.
17
- * Copyright (c) 2013 NVIDIA Corporation. All rights reserved.
17
+ * Copyright (c) 2013-2025 NVIDIA Corporation. All rights reserved.
18
18
* Copyright (c) 2013-2018 Cisco Systems, Inc. All rights reserved
19
19
* Copyright (c) 2015-2018 Los Alamos National Security, LLC. All rights
20
20
* reserved.
34
34
int mca_rcache_base_vma_tree_init (mca_rcache_base_vma_module_t * vma_module )
35
35
{
36
36
OBJ_CONSTRUCT (& vma_module -> tree , opal_interval_tree_t );
37
- vma_module -> reg_cur_cache_size = 0 ;
38
37
return opal_interval_tree_init (& vma_module -> tree );
39
38
}
40
39
Original file line number Diff line number Diff line change 16
16
* Copyright (c) 2010 IBM Corporation. All rights reserved.
17
17
* Copyright (c) 2011-2018 Los Alamos National Security, LLC. All rights
18
18
* reserved.
19
- * Copyright (c) 2013 NVIDIA Corporation. All rights reserved.
19
+ * Copyright (c) 2013-2025 NVIDIA Corporation. All rights reserved.
20
20
* Copyright (c) 2016 Research Organization for Information Science
21
21
* and Technology (RIST). All rights reserved.
22
22
* Copyright (c) 2020 Google, LLC. All rights reserved.
@@ -75,12 +75,10 @@ static inline bool registration_is_cacheable(mca_rcache_base_registration_t *reg
75
75
76
76
static void mca_rcache_grdma_cache_contructor (mca_rcache_grdma_cache_t * cache )
77
77
{
78
- memset ((void * ) ((uintptr_t ) cache + sizeof (cache -> super )), 0 ,
79
- sizeof (* cache ) - sizeof (cache -> super ));
80
-
81
78
OBJ_CONSTRUCT (& cache -> lru_list , opal_list_t );
82
79
OBJ_CONSTRUCT (& cache -> gc_lifo , opal_lifo_t );
83
80
81
+ cache -> cache_name = NULL ;
84
82
cache -> vma_module = mca_rcache_base_vma_module_alloc ();
85
83
}
86
84
You can’t perform that action at this time.
0 commit comments