1
1
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
..
2015-06-23 20:59:57 -07:00
2014-12-04 15:30:02 -07:00
2017-06-23 08:15:34 -06:00
2015-06-23 20:59:57 -07:00
2017-11-30 10:41:23 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00