Skip to content
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

vader fix for 4937 (PPC wmb location) #4955

Merged
merged 1 commit into from
Mar 27, 2018
Merged

Conversation

markalle
Copy link
Contributor

@markalle markalle commented Mar 22, 2018

I have some tests that failed on PPC with the recent vader changes.
I'm suspicious of the set_header() function where there's a wmb()
call that looks like it boils down to
set some data
set the header to indicate the data is available
wmb
and I think the wmb needs to go up a line.

More details here:
#4937
with a copy of the "maxsoak.c" testcase at
https://gist.github.com/markalle/a1c203297cb6af22a3fb5c24e62b2ba3

Fixes #4937

@hjelmn hjelmn self-requested a review March 22, 2018 19:42
@hjelmn
Copy link
Member

hjelmn commented Mar 22, 2018

Has this been put in master yet?

@hjelmn hjelmn added this to the v3.0.1 milestone Mar 22, 2018
@hjelmn
Copy link
Member

hjelmn commented Mar 22, 2018

Can lead to incorrect answers. Clear bug.

@markalle
Copy link
Contributor Author

I don't think master has the bug. The function names are a bit different in that branch, but I think it's right in master (didn't hit any bugs on PPC anyway with master).

My change in this PR was partially based on just the logic behind what a function called set_header() is probably doing, but also partially based on comparing vs what master has.

@hjelmn
Copy link
Member

hjelmn commented Mar 22, 2018

@markalle Ok. You are correct that this was the intended order. Its a typo that isn't caught on x86.

@hjelmn
Copy link
Member

hjelmn commented Mar 22, 2018

@bwbarrett Is this something small enough that it can be included in v3.0.1 without another RC?

@jsquyres
Copy link
Member

Is this needed on v2.x or v3.1.x?

@markalle
Copy link
Contributor Author

I don't think it's needed anywhere else, it's a pretty recent regression. I browsed in branch "v3.1.x" to make sure and doesn't look like it needs to go there.

I have some tests that failed on PPC with the recent vader changes.
I'm suspicious of the set_header() function where there's a wmb()
call that looks like it boils down to
    set some data
    set the header to indicate the data is available
    wmb
and I think the wmb needs to go up a line.

More details here:
    open-mpi#4937
with a copy of the "maxsoak.c" testcase at
    https://gist.github.com/markalle/a1c203297cb6af22a3fb5c24e62b2ba3

Signed-off-by: Mark Allen <markalle@us.ibm.com>
@markalle
Copy link
Contributor Author

Oh shoot, re-pushing with the commit signed

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.

4 participants