1
1
openmpi/opal
Nathan Hjelm f8dbf62879 opal/asm: change ll/sc atomics to macros
This commit fixes a hang that occurs with debug builds of Open MPI on
aarch64 and power/powerpc systems. When the ll/sc atomics are inline
functions the compiler emits load/store instructions for the function
arguments with -O0. These extra load/store arguments can cause the ll
reservation to be cancelled causing live-lock.

Note that we did attempt to fix this with always_inline but the extra
instructions are stil emitted by the compiler (gcc). There may be
another fix but this has been tested and is working well.

References #3697. Close when applied to v3.0.x and v3.1.x.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2018-05-31 19:45:19 -06:00
..
class opal/asm: change ll/sc atomics to macros 2018-05-31 19:45:19 -06:00
datatype opal/datatype: minor compiler warning stomp 2018-05-30 10:08:19 -07:00
dss Update ORTE to support PMIx v3 2018-03-02 02:00:31 -08:00
etc Correct the comment in the default MCA param template - we do not support a param called "component_path". The correct syntax is "mca_base_component_path" 2018-01-05 08:46:44 -08:00
include opal/asm: change ll/sc atomics to macros 2018-05-31 19:45:19 -06:00
mca pmix3x: compiler warning stomp 2018-05-30 10:14:37 -07:00
memoryhooks opal: rename opal_atomic_init to opal_atomic_lock_init 2017-08-07 14:15:11 -06:00
runtime cuda: add option to remove warning about missing libcuda. 2018-05-24 14:56:46 -07:00
test/reachable reachable: add tests 2017-09-19 19:42:54 -07:00
threads opal/asm: add fetch-and-op atomics 2017-11-30 10:41:23 -07:00
tools Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
util Merge pull request #4933 from karasevb/timings_update 2018-03-25 00:10:49 -07:00
win32 opal: standardize on max hostname length 2016-04-24 08:19:47 +02:00
common_sym_whitelist.txt opal: add code patcher framework 2016-04-13 17:16:13 -06:00
Makefile.am opal: remove generated asm code 2017-08-03 09:18:58 -06:00
win_makefile Purge whitespace from the repo 2015-06-23 20:59:57 -07:00