1
1
openmpi/opal/mca/memory/base
Nathan Hjelm 11e2d7886e opal/memory: update component structure
This commit makes it possible to set relative priorities for
components. Before the addition of the patched component there was
only one component that would run on any system but that is no longer
the case. When determining which component to open each component's
query function is called and the one that returns the highest priority
is opened. The default priority of the patcher component is set
slightly higher than the old ptmalloc2/ummunotify component.

This commit fixes a long-standing break in the abstration of the
memory components. ompi_mpi_init.c was referencing the linux malloc
hook initilize function to ensure the hooks are initialized for
libmpi.so. The abstraction break has been fixed by adding a memory
base function that calls the open memory component's malloc hook init
function if it has one. The code is not yet complete but is intended
to support ptmalloc in 2.0.0. In that case the base function will
always call the ptmalloc hook init if exists.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2016-04-13 17:14:51 -06:00
..
base.h opal/memory: update component structure 2016-04-13 17:14:51 -06:00
empty.h opal/mca/memory: add a memoryc_set_alignment subroutine to the OPAL memory MCA 2016-02-24 09:50:12 +09:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
memory_base_empty.c opal/mca/memory: add a memoryc_set_alignment subroutine to the OPAL memory MCA 2016-02-24 09:50:12 +09:00
memory_base_open.c opal/memory: update component structure 2016-04-13 17:14:51 -06:00
owner.txt add owner files to opa/ompi/orte mca directories 2015-02-22 15:10:23 -07:00