1
1
openmpi/opal
Jeff Squyres 88c13adc8c openib: only set the memory hook if it is enabled
Instead of unconditionally setting the memory hook, only set it when
the memory hooks are both available and have been enabled (e.g.,
opal/mca/memory/linux has decided that it *can* be enabled, and when
the mpi_leave_pinned MCA param is set to 1, or is set to -1 and some
component requested the memory hooks be enabled).

If we set the memory hook when memory hooks are not enabled,
__malloc_hook will be NULL, which will cause problems when
btl_openib_malloc_hook() tries to invoke it.

Fixes open-mpi/ompi#638.
2015-06-12 20:11:47 -07:00
..
asm Per-RFC: remove the --disable-smp-locks configure option 2015-03-04 11:31:43 -07:00
class Consolidate all the QOS changes into one clean commit 2015-05-06 19:48:42 -07:00
datatype opal/ddt: fix opal_dt_swap_bytes 2015-05-28 16:00:03 +09:00
dss opal/dss: silence coverity issues 2015-05-28 08:38:09 -06:00
etc Backing out the Open SHMEM project 2013-02-12 17:45:27 +00:00
include Merge pull request #379 from hjelmn/remove_enable_smp_locks 2015-04-15 10:02:23 -06:00
mca openib: only set the memory hook if it is enabled 2015-06-12 20:11:47 -07:00
memoryhooks configury: new OPAL_SET_LIB_PREFIX/ORTE_SET_LIB_PREFIX macros 2014-10-22 10:32:19 -07:00
runtime opal_params.c: fix typo in comment 2015-06-06 10:17:20 -07:00
threads cleanup dead code caused by the removal of the --with-threads configure option 2015-01-16 19:13:59 +09:00
tools wrappers: *_EXTRA_INCLUDES does not exist any more 2015-02-20 08:43:25 -08:00
util add missing #include 2015-06-08 09:13:11 +09:00
win32 windows: effectively revert r32449 2014-08-08 11:36:45 +00:00
Makefile.am Modify destructor function configury 2015-04-20 09:51:06 -06:00
win_makefile George did the work and deserves all the credit for it. Ralph did the merge, and deserves whatever blame results from errors in it :-) 2014-07-26 00:47:28 +00:00