Skip to content

Conversation

@wenduwan
Copy link
Contributor

Simplify the recv function with the MCA_PML_CM_* macros

Signed-off-by: Wenduo Wang [email protected]
(cherry picked from commit 73977ba)

Simplify the recv function with the MCA_PML_CM_* macros

Signed-off-by: Wenduo Wang <[email protected]>
(cherry picked from commit 73977ba)
@wenduwan wenduwan added this to the v5.0.3 milestone Feb 17, 2024
@wenduwan wenduwan self-assigned this Feb 17, 2024
@wenduwan wenduwan requested a review from janjust February 17, 2024 17:59
@wenduwan
Copy link
Contributor Author

@lrbison pointed out 2 problems with this PR:

  • It introduces additional overhead of allocating and cleaning up the recv request object for recv
  • It has a memory leak where the allocated recv request object was not freed correctly

Therefore I'm closing this PR and reverting the change on main branch. I will add a comment to caution developers who are tempted to refactor the code.

@wenduwan wenduwan closed this Feb 22, 2024
@wenduwan wenduwan deleted the v5.0.x_backport_pml_refactor branch February 22, 2024 16:01
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.

1 participant