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

sendrecv: Include copy of max_tag in endpoint #742

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bwbarrett
Copy link
Contributor

The sendrecv code includes a number of places that were referencing the device object solely to get the max_tag value. Simplify things and reduce cache usage by including a copy of max_tag in the endpoint structure.

This is general cleanup, but part of a patch series working towards removing a bunch of locking from the code to a high level lock, but cleanups like this also help minimize the random cache lines we're loading.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bwbarrett bwbarrett marked this pull request as ready for review December 6, 2024 20:19
@bwbarrett bwbarrett requested a review from a team as a code owner December 6, 2024 20:19
The sendrecv code includes a number of places that were referencing
the device object solely to get the max_tag value.  Simplify things
and reduce cache usage by including a copy of max_tag in the endpoint
structure.

Signed-off-by: Brian Barrett <[email protected]>
@bwbarrett bwbarrett force-pushed the cleanup/less-device-referencing branch from 4ae597b to 0524bba Compare December 13, 2024 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants