oshmem: sshmem: make mmap allocator a default instead of verbs
By default use mmap() to allocate memory for the symmetric heap. It is safer and more portable choice than sysv and verbs. Signed-off-by: Alex Mikheev <alexm@mellanox.com>
Этот коммит содержится в:
родитель
8155124adc
Коммит
67d66c2326
@ -94,10 +94,10 @@ mmap_register(void)
|
||||
{
|
||||
/* ////////////////////////////////////////////////////////////////////// */
|
||||
/* (default) priority - set high to make mmap the default */
|
||||
mca_sshmem_mmap_component.priority = 20;
|
||||
mca_sshmem_mmap_component.priority = 40;
|
||||
mca_base_component_var_register (&mca_sshmem_mmap_component.super.base_version,
|
||||
"priority", "Priority for sshmem mmap "
|
||||
"component (default: 20)", MCA_BASE_VAR_TYPE_INT,
|
||||
"component (default: 40)", MCA_BASE_VAR_TYPE_INT,
|
||||
NULL, 0, MCA_BASE_VAR_FLAG_SETTABLE,
|
||||
OPAL_INFO_LVL_3,
|
||||
MCA_BASE_VAR_SCOPE_ALL_EQ,
|
||||
|
@ -269,10 +269,10 @@ verbs_register(void)
|
||||
|
||||
/* ////////////////////////////////////////////////////////////////////// */
|
||||
/* (default) priority - set high to make verbs the default */
|
||||
mca_sshmem_verbs_component.priority = 40;
|
||||
mca_sshmem_verbs_component.priority = 20;
|
||||
index = mca_base_component_var_register (&mca_sshmem_verbs_component.super.base_version,
|
||||
"priority", "Priority for sshmem verbs "
|
||||
"component (default: 40)", MCA_BASE_VAR_TYPE_INT,
|
||||
"component (default: 20)", MCA_BASE_VAR_TYPE_INT,
|
||||
NULL, 0, MCA_BASE_VAR_FLAG_SETTABLE,
|
||||
OPAL_INFO_LVL_3,
|
||||
MCA_BASE_VAR_SCOPE_ALL_EQ,
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user