1
1
openmpi/ompi/mca
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
..
allocator Adjust allocation size to be a quantity divisible by sizeof(size_t). This 2006-10-25 18:22:38 +00:00
bml Last set of explicit conversions. We are now close to the zero warnings on 2006-10-20 03:57:44 +00:00
btl Fix deadlock reported by Andrew Friedley: 2006-10-31 09:54:52 +00:00
coll Initialize the sndbuf in all cases. Do not forget to initialize the 2006-10-27 00:13:33 +00:00
common Move it in the right place. 2006-08-21 04:05:19 +00:00
io Fixes trac:529. 2006-10-27 12:32:36 +00:00
mpool Last set of explicit conversions. We are now close to the zero warnings on 2006-10-20 03:57:44 +00:00
mtl ompi_mtl_datatype_pack is not a data-type function (really) so it still 2006-10-27 00:15:53 +00:00
osc Big datatype commit. Remove all unused features of the datatype engine. As the memory 2006-10-26 23:11:26 +00:00
pml Add comments to process_pending functions. 2006-10-29 09:12:24 +00:00
rcache Fix bug in vma rcache. 2006-10-18 10:55:01 +00:00
topo The last patch for Windows support. Mostly casting and conversion to C++ friendly headers. 2006-08-24 16:38:08 +00:00
win_makefile Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00