Skip to content

Conversation

hjelmn
Copy link
Member

@hjelmn hjelmn commented Jul 12, 2018

This commit updates the atomic fifo code to fix a consistency issue
observed on Power9 systems when builtin atomics are used. The cause
was two things: 1) a missing write memory barrier in fifo push, and 2)
a read ordering issue when reading the fifo head non-atomically. This
commit fixes both issues and appears to correct then inconsistency.

Signed-off-by: Nathan Hjelm [email protected]
(cherry picked from commit 8b09010)
Signed-off-by: Nathan Hjelm [email protected]

This commit updates the atomic fifo code to fix a consistency issue
observed on Power9 systems when builtin atomics are used. The cause
was two things: 1) a missing write memory barrier in fifo push, and 2)
a read ordering issue when reading the fifo head non-atomically. This
commit fixes both issues and appears to correct then inconsistency.

Signed-off-by: Nathan Hjelm <[email protected]>
(cherry picked from commit 8b09010)
Signed-off-by: Nathan Hjelm <[email protected]>
@hjelmn hjelmn added this to the v3.1.2 milestone Jul 12, 2018
@hjelmn hjelmn requested a review from gpaulsen July 12, 2018 16:45
@jsquyres jsquyres changed the title opal/fifo: fix 128-bit atomic fifo on Power9 v3.1: opal/fifo: fix 128-bit atomic fifo on Power9 Jul 12, 2018
@gpaulsen
Copy link
Member

built and tested on Power9. This fixes the issue. Thanks!

@bwbarrett bwbarrett merged commit bea0115 into open-mpi:v3.1.x Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants