Skip to content

Remove unused opal_shmem_seg_hdr_t to retain alignment #7207

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
merged 1 commit into from
Jan 28, 2020

Conversation

devreal
Copy link
Contributor

@devreal devreal commented Nov 29, 2019

As pointed out in #6950, the opal_shmem_seg_hdr_t struct allocated at the beginning of each shared memory segment is not actually used but interferes with the alignment of the memory. This PR removes this struct, allowing the shmem components to return page-aligned memory.

Fixes #6950

Signed-off-by: Joseph Schuchart schuchart@hlrs.de

Signed-off-by: Joseph Schuchart <schuchart@hlrs.de>
@awlauria awlauria merged commit 1275766 into open-mpi:master Jan 28, 2020
@devreal
Copy link
Contributor Author

devreal commented Jan 28, 2020

Should this be cherry-picked to the release branches?

@devreal devreal deleted the remove_shmem_seg_hdr branch October 3, 2022 15:53
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.

Cache alignment in osc/sm
3 participants