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

Address space from ring buffer memory mapped into user space should be cleaned up #3914

Open
mikeagun opened this issue Oct 7, 2024 · 0 comments
Assignees
Labels
bug Something isn't working P2 triaged Discussed in a triage meeting
Milestone

Comments

@mikeagun
Copy link
Collaborator

mikeagun commented Oct 7, 2024

Describe the bug

Currently the memory mapping for ring buffers is never cleaned up (until the process exits). This is only a leak of address space in the user process, not memory, but we should return a handle the user-space process can use to release the mapping.

OS information

No response

Steps taken to reproduce bug

  1. Repeatedly open and close a ring buffer

Expected behavior

After closing the ring buffer, the address space in the user process should be released.

Actual outcome

The address space stays reserved until the process exits.

Additional details

No response

@mikeagun mikeagun added the bug Something isn't working label Oct 7, 2024
@shankarseal shankarseal added P2 triaged Discussed in a triage meeting labels Oct 14, 2024
@shankarseal shankarseal added this to the 2411 milestone Oct 14, 2024
@shankarseal shankarseal modified the milestones: 2411, 2501 Nov 2, 2024
@mikeagun mikeagun added blocked Blocked on another issue that must be done first and removed blocked Blocked on another issue that must be done first labels Jan 15, 2025
@shankarseal shankarseal modified the milestones: 2501, 2502 Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P2 triaged Discussed in a triage meeting
Projects
None yet
Development

No branches or pull requests

2 participants