Skip to content

Consider moving Section and views for ring buffer implementation #5434

Description

Currently ring buffer manually map kernel pages to user space virtual memory. This causes issues if the user space app that caleld __new() on a previously pinned map; and thereafter crashes; the user mapped pages are not cleaned. A subsequent app that tries to call __new() on the same map will fail as the user mapping already exists.

The proposal is to move to kernel sections and views; such that every app that calls __new() has a handle to the view which gets cleaned up by Ob when the process terminates.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't workingenhancementNew feature or requesttriagedDiscussed in a triage meeting

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions