Skip to content

Commit dc7d2f5

Browse files
authored
Merge pull request #2571 from alex-mikheev/topic/sshmem_prio_fix
oshmem: sshmem: make mmap allocator a default instead of verbs
2 parents 7fc9f9b + 67d66c2 commit dc7d2f5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

oshmem/mca/sshmem/mmap/sshmem_mmap_component.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ mmap_register(void)
9494
{
9595
/* ////////////////////////////////////////////////////////////////////// */
9696
/* (default) priority - set high to make mmap the default */
97-
mca_sshmem_mmap_component.priority = 20;
97+
mca_sshmem_mmap_component.priority = 40;
9898
mca_base_component_var_register (&mca_sshmem_mmap_component.super.base_version,
9999
"priority", "Priority for sshmem mmap "
100-
"component (default: 20)", MCA_BASE_VAR_TYPE_INT,
100+
"component (default: 40)", MCA_BASE_VAR_TYPE_INT,
101101
NULL, 0, MCA_BASE_VAR_FLAG_SETTABLE,
102102
OPAL_INFO_LVL_3,
103103
MCA_BASE_VAR_SCOPE_ALL_EQ,

oshmem/mca/sshmem/verbs/sshmem_verbs_component.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,10 @@ verbs_register(void)
269269

270270
/* ////////////////////////////////////////////////////////////////////// */
271271
/* (default) priority - set high to make verbs the default */
272-
mca_sshmem_verbs_component.priority = 40;
272+
mca_sshmem_verbs_component.priority = 20;
273273
index = mca_base_component_var_register (&mca_sshmem_verbs_component.super.base_version,
274274
"priority", "Priority for sshmem verbs "
275-
"component (default: 40)", MCA_BASE_VAR_TYPE_INT,
275+
"component (default: 20)", MCA_BASE_VAR_TYPE_INT,
276276
NULL, 0, MCA_BASE_VAR_FLAG_SETTABLE,
277277
OPAL_INFO_LVL_3,
278278
MCA_BASE_VAR_SCOPE_ALL_EQ,

0 commit comments

Comments
 (0)