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

aya: Remove MapData::pinned #789

Closed
wants to merge 1 commit into from

Conversation

dave-tucker
Copy link
Member

BPF objects can be pinned mutliple times, to multiple different places. Tracking whether or not a map is pinned in a bool is therefore not sufficient. We could track this in a HashSet, but there is really no reason to track it at all.

BPF objects can be pinned mutliple times, to multiple different places.
Tracking whether or not a map is pinned in a bool is therefore not sufficient.
We could track this in a HashSet<PathBuf>, but there is really no reason
to track it at all.

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
@netlify
Copy link

netlify bot commented Sep 18, 2023

Deploy Preview for aya-rs-docs ready!

Name Link
🔨 Latest commit 3ffb1ed
🔍 Latest deploy log https://app.netlify.com/sites/aya-rs-docs/deploys/65087c9cd01ec600080a4a72
😎 Deploy Preview https://deploy-preview-789--aya-rs-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mergify mergify bot added the aya This is about aya (userspace) label Sep 18, 2023
@astoycos
Copy link
Member

astoycos commented Sep 18, 2023

Head's up @dave-tucker I've removed this in #783, however I do still track pins in a new Hashset Paths which I could remove altogether.

@dave-tucker
Copy link
Member Author

@astoycos ack. I'll close this and comment on your PR.

@tamird
Copy link
Member

tamird commented Sep 18, 2023

FWIW I do think it's better to land this change separately ahead of #783.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aya This is about aya (userspace)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants