mca_mpool_base_mem_cb_array is no longer used anywhere in the code
base. Remove it. This commit was SVN r20982.
Этот коммит содержится в:
родитель
9f7c605166
Коммит
8de80e9297
@ -10,7 +10,7 @@
|
|||||||
* University of Stuttgart. All rights reserved.
|
* University of Stuttgart. All rights reserved.
|
||||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
* Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
|
* Copyright (c) 2008-2009 Cisco Systems, Inc. All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -30,7 +30,6 @@
|
|||||||
#include "ompi/mca/mpool/base/base.h"
|
#include "ompi/mca/mpool/base/base.h"
|
||||||
#include "mpool_base_mem_cb.h"
|
#include "mpool_base_mem_cb.h"
|
||||||
|
|
||||||
extern opal_pointer_array_t mca_mpool_base_mem_cb_array;
|
|
||||||
|
|
||||||
int mca_mpool_base_close(void)
|
int mca_mpool_base_close(void)
|
||||||
{
|
{
|
||||||
@ -71,7 +70,6 @@ int mca_mpool_base_close(void)
|
|||||||
if( (modules_length > 0) && mca_mpool_base_used_mem_hooks &&
|
if( (modules_length > 0) && mca_mpool_base_used_mem_hooks &&
|
||||||
0 != (OPAL_MEMORY_FREE_SUPPORT & opal_mem_hooks_support_level())) {
|
0 != (OPAL_MEMORY_FREE_SUPPORT & opal_mem_hooks_support_level())) {
|
||||||
opal_mem_hooks_unregister_release(mca_mpool_base_mem_cb);
|
opal_mem_hooks_unregister_release(mca_mpool_base_mem_cb);
|
||||||
OBJ_DESTRUCT(&mca_mpool_base_mem_cb_array);
|
|
||||||
}
|
}
|
||||||
/* All done */
|
/* All done */
|
||||||
|
|
||||||
|
@ -41,8 +41,6 @@
|
|||||||
#include "mpool_base_mem_cb.h"
|
#include "mpool_base_mem_cb.h"
|
||||||
|
|
||||||
|
|
||||||
extern opal_pointer_array_t mca_mpool_base_mem_cb_array;
|
|
||||||
|
|
||||||
mca_mpool_base_component_t* mca_mpool_base_component_lookup(const char* name)
|
mca_mpool_base_component_t* mca_mpool_base_component_lookup(const char* name)
|
||||||
{
|
{
|
||||||
/* Traverse the list of available modules; call their init functions. */
|
/* Traverse the list of available modules; call their init functions. */
|
||||||
@ -117,7 +115,6 @@ mca_mpool_base_module_t* mca_mpool_base_module_create(
|
|||||||
((OPAL_MEMORY_FREE_SUPPORT | OPAL_MEMORY_MUNMAP_SUPPORT) &
|
((OPAL_MEMORY_FREE_SUPPORT | OPAL_MEMORY_MUNMAP_SUPPORT) &
|
||||||
opal_mem_hooks_support_level())) {
|
opal_mem_hooks_support_level())) {
|
||||||
opal_mem_hooks_register_release(mca_mpool_base_mem_cb, NULL);
|
opal_mem_hooks_register_release(mca_mpool_base_mem_cb, NULL);
|
||||||
OBJ_CONSTRUCT(&mca_mpool_base_mem_cb_array, opal_pointer_array_t);
|
|
||||||
} else {
|
} else {
|
||||||
orte_show_help("help-mpool-base.txt", "leave pinned failed",
|
orte_show_help("help-mpool-base.txt", "leave pinned failed",
|
||||||
true, name, ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
|
true, name, ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
* University of Stuttgart. All rights reserved.
|
* University of Stuttgart. All rights reserved.
|
||||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
* Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -26,7 +27,6 @@
|
|||||||
#include "base.h"
|
#include "base.h"
|
||||||
#include "orte/types.h"
|
#include "orte/types.h"
|
||||||
|
|
||||||
opal_pointer_array_t mca_mpool_base_mem_cb_array;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* memory hook callback, called when memory is free'd out from under us
|
* memory hook callback, called when memory is free'd out from under us
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user