From 7ab9a72d0f8b553fd3fbeed70daa9ef793bd7fb0 Mon Sep 17 00:00:00 2001 From: Lenny Verkhovsky Date: Wed, 15 Oct 2008 16:56:42 +0000 Subject: [PATCH] merge with r19717, memory barrier on PPC I run IMB exchange on two QS22 machines with r19674 and it got stucked after 256 or 512 bytes every time. After applying r19717 the test passed, so I guess this is a essential patch. This commit was SVN r19752. The following SVN revision numbers were found above: r19674 --> open-mpi/ompi@15c47a24730e8f4e146a45900e61ea812bf673e9 r19717 --> open-mpi/ompi@0a765cd788b4558217d6707e071f468bd3f68abf --- ompi/mca/btl/openib/btl_openib_component.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/btl/openib/btl_openib_component.c b/ompi/mca/btl/openib/btl_openib_component.c index e7293c619d..099070f249 100644 --- a/ompi/mca/btl/openib/btl_openib_component.c +++ b/ompi/mca/btl/openib/btl_openib_component.c @@ -2959,7 +2959,7 @@ static int progress_one_device(mca_btl_openib_device_t *device) uint32_t size; mca_btl_openib_module_t *btl = endpoint->endpoint_btl; - opal_atomic_rmb(); + opal_atomic_mb(); if(endpoint->nbo) { BTL_OPENIB_FOOTER_NTOH(*frag->ftr);