1
1

Better comment than what was submitted in r28614.

This commit was SVN r28631.

The following SVN revision numbers were found above:
  r28614 --> open-mpi/ompi@9556310bd0
Этот коммит содержится в:
Jeff Squyres 2013-06-13 20:52:44 +00:00
родитель 8924140916
Коммит a0b27f5b28

Просмотреть файл

@ -39,11 +39,16 @@
#include <stddef.h>
#if BTL_OPENIB_MALLOC_HOOKS_ENABLED
/*
* The include of malloc.h below breaks layers in OMPI
* The malloc hooks in newer glibc were deprecated, including stock malloc.h causes compilation erros
* So, we use internal malloc.h which does not cause compilation errors.
* Internally, OMPI uses built-in ptmalloc anyway
* The include of malloc.h below breaks abstractions in OMPI (by
* directly including a header file from another component), but has
* been ruled "ok" because the openib component is only supported on
* Linux.
*
* The malloc hooks in newer glibc were deprecated, including stock
* malloc.h causes compilation warnings. Instead, we use the internal
* linux component malloc.h which does not cause these warnings.
* Internally, OMPI uses the built-in ptmalloc from the linux memory
* component anyway.
*/
#include "opal/mca/memory/linux/malloc.h"
#endif