bring disable_sbrk back online, there was a change to properly support AIX
some time ago (last summer) that included checking for M_TRIM_THRESHOLD and M_MMAP_MAX, unfortunately we didn't include <malloc.h> which is where these are define, so disabling sbrk for the registration cache has been busted for some time. This commit was SVN r14169.
Этот коммит содержится в:
родитель
d367d9017c
Коммит
db63458495
@ -28,7 +28,9 @@
|
||||
#include "opal/mca/mca.h"
|
||||
#include "ompi/mca/mpool/mpool.h"
|
||||
#include "opal/threads/mutex.h"
|
||||
|
||||
#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#if defined(HAVE_MALLOPT) && defined(M_TRIM_THRESHOLD) && defined(M_MMAP_MAX)
|
||||
#define MPOOL_BASE_CAN_DISABLE_SBRK 1
|
||||
#else
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user