c8865bd5c1
ompi_config.h in some of the intercept mechanisms. * Intercept munmap when called directly by the user when we are using ptmalloc2 (previously we only covered when the user called free()). * Don't go through the locking and list traversal logic trying to fire callbacks until there is actually a callback to fire. This is both a performance boost and a way to cope with the hook callback being triggered before opal_init. This commit was SVN r6818.
24 строки
807 B
C
24 строки
807 B
C
/*
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
* All rights reserved.
|
|
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
* All rights reserved.
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
* University of Stuttgart. All rights reserved.
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
* All rights reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
|
|
#ifndef OPAL_MEMORY_MEMORY_INTERNAL_H
|
|
#define OPAL_MEMORY_MEMORY_INTERNAL_H
|
|
|
|
void opal_mem_free_set_free_support(int support);
|
|
void opal_mem_free_release_hook(void *buf, size_t length);
|
|
|
|
#endif /* OPAL_MEMORY_MEMORY_INTERNAL_H */
|