This fixes a bug where sometimes the rcache lock would be dropped when it wasn't actually held.
Also includes some minor copytight header additions that were missed in previous checkins fixes trac:2101 added cmr:v1.4 This commit was SVN r22676. The following Trac tickets were found above: Ticket 2101 --> https://svn.open-mpi.org/trac/ompi/ticket/2101
Этот коммит содержится в:
родитель
bccafbb5df
Коммит
a14a5dc3c6
@ -15,6 +15,7 @@
|
|||||||
* reserved.
|
* reserved.
|
||||||
* Copyright (c) 2006-2007 Voltaire All rights reserved.
|
* Copyright (c) 2006-2007 Voltaire All rights reserved.
|
||||||
* Copyright (c) 2006-2009 Mellanox Technologies, Inc. All rights reserved.
|
* Copyright (c) 2006-2009 Mellanox Technologies, Inc. All rights reserved.
|
||||||
|
* Copyright (c) 2009 IBM Corporation. All rights reserved.
|
||||||
*
|
*
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
* Copyright (c) 2006-2008 Cisco Systems, Inc. All rights reserved.
|
* Copyright (c) 2006-2008 Cisco Systems, Inc. All rights reserved.
|
||||||
* Copyright (c) 2006 Voltaire. All rights reserved.
|
* Copyright (c) 2006 Voltaire. All rights reserved.
|
||||||
* Copyright (c) 2007 Mellanox Technologies. All rights reserved.
|
* Copyright (c) 2007 Mellanox Technologies. All rights reserved.
|
||||||
|
* Copyright (c) 2009 IBM Corporation. All rights reserved.
|
||||||
*
|
*
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
@ -148,7 +149,6 @@ static int register_cache_bypass(mca_mpool_base_module_t *mpool,
|
|||||||
mca_mpool_base_page_size_log);
|
mca_mpool_base_page_size_log);
|
||||||
OMPI_FREE_LIST_GET(&mpool_rdma->reg_list, item, rc);
|
OMPI_FREE_LIST_GET(&mpool_rdma->reg_list, item, rc);
|
||||||
if(OMPI_SUCCESS != rc) {
|
if(OMPI_SUCCESS != rc) {
|
||||||
OPAL_THREAD_UNLOCK(&mpool->rcache->lock);
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
rdma_reg = (mca_mpool_base_registration_t*)item;
|
rdma_reg = (mca_mpool_base_registration_t*)item;
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
* Copyright (c) 2007 Los Alamos National Security, LLC. All rights
|
* Copyright (c) 2007 Los Alamos National Security, LLC. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
|
* Copyright (c) 2009 IBM Corporation. All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user