Skip to content

v2.0.x: Add volatile to the pointer in the list_item structure. #3493

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

jsquyres
Copy link
Member

@jsquyres jsquyres commented May 9, 2017

This change has the side effect of improving the performance of all atomic data structures (in addition to making the code correct under a certain interpretation of the volatile usage).

Original issue: #3450
Master PR: #3468
Fixes #3476 (v2.0.x tracking issue)

Has been approved by @hjelmn @bwbarrett @bosilca on master.

Signed-off-by: George Bosilca [email protected]
(cherry picked from commit d7ebcca)
Signed-off-by: Jeff Squyres [email protected]

This change has the side effect of improving the performance of all
atomic data structures (in addition to making the code crrect under a
certain interpretation of the volatile usage).
This commit fixes open-mpi#3450.

Signed-off-by: George Bosilca <[email protected]>(cherry picked from commit d7ebcca)
Signed-off-by: Jeff Squyres <[email protected]>
@jsquyres jsquyres merged commit c5c5e2b into open-mpi:v2.0.x May 9, 2017
@jsquyres jsquyres deleted the pr/v2.0.x/opal-list-item-volatile branch May 9, 2017 18:42
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