1
1
openmpi/ompi
Gleb Natapov d7375ec102 Fix deadlock reported by Andrew Friedley:
What's happening is that we're holding openib_btl->eager_rdma_lock when
we call mca_btl_openib_endpoint_send_eager_rdma() on
btl_openib_endpoint.c:1227.  This in turn calls
mca_btl_openib_endpoint_send() on line 1179.  Then, if the endpoint
state isn't MCA_BTL_IB_CONNECTED or MCA_BTL_IB_FAILED, we call
opal_progress(), where we eventually try to lock
openib_btl->eager_rdma_lock at btl_openib_component.c:997.

The fix removes this lock altogether. Instead we atomically set local RDMA
pointer to prevent other threads to create rdma buffer for the same endpoint.
And we increment eager_rdma_buffers_count atomically thus polling thread doesn't
need lock around it.

This commit was SVN r12369.
2006-10-31 09:54:52 +00:00
..
attribute Last set of explicit conversions. We are now close to the zero warnings on 2006-10-20 03:57:44 +00:00
class The correct way to compute the difference between the actual size and the 2006-10-20 19:33:55 +00:00
communicator Last set of explicit conversions. We are now close to the zero warnings on 2006-10-20 03:57:44 +00:00
datatype Big datatype commit. Remove all unused features of the datatype engine. As the memory 2006-10-26 23:11:26 +00:00
debuggers Remove all warnings from the TotalView interface. 2006-10-11 17:29:29 +00:00
errhandler Fixes trac:549 2006-10-30 19:50:09 +00:00
etc Next step in the project split, mainly source code re-arranging 2006-02-12 01:33:29 +00:00
file The last patch for Windows support. Mostly casting and conversion to C++ friendly headers. 2006-08-24 16:38:08 +00:00
group just a reordering of the arguments in a comparison in order to comply with the 2006-10-23 17:14:23 +00:00
include Follow on to r12146. For platforms that dont' have a ptrdiff_t definition, 2006-10-20 03:24:59 +00:00
info The last patch for Windows support. Mostly casting and conversion to C++ friendly headers. 2006-08-24 16:38:08 +00:00
mca Fix deadlock reported by Andrew Friedley: 2006-10-31 09:54:52 +00:00
mpi Refs trac:496 2006-10-30 22:44:23 +00:00
op The last patch for Windows support. Mostly casting and conversion to C++ friendly headers. 2006-08-24 16:38:08 +00:00
peruse The last patch for Windows support. Mostly casting and conversion to C++ friendly headers. 2006-08-24 16:38:08 +00:00
proc The last patch for Windows support. Mostly casting and conversion to C++ friendly headers. 2006-08-24 16:38:08 +00:00
request Ensure to FINI the request (e.g., release fortran resources). 2006-10-30 16:02:29 +00:00
runtime Bring the timing instrumentation to the trunk. 2006-10-25 15:27:47 +00:00
tools Grrr... Forgot that EXTRA_DIST and man_MANS are not set to include all the 2006-10-20 14:15:38 +00:00
win Last set of explicit conversions. We are now close to the zero warnings on 2006-10-20 03:57:44 +00:00
Makefile.am Install Fortran 77 bindings as a stand-alone library, rather than as part of 2006-09-08 01:35:49 +00:00
README.dox Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00

/*
 * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
 *                         University Research and Technology
 *                         Corporation.  All rights reserved.
 * Copyright (c) 2004-2005 The University of Tennessee and The University
 *                         of Tennessee Research Foundation.  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$
 */
/** @mainpage

@section mainpage_introduction Introduction

This is the introduction.
This is the introduction.
This is the introduction.
This is the introduction.
This is the introduction.
This is the introduction.
This is the introduction.

@section main_install Installation
 
This is the installation section.
This is the installation section.
This is the installation section.
This is the installation section.
This is the installation section.
This is the installation section.
This is the installation section.

*/