Skip to content

OS provider should support shared memory allocations #436

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

Closed
bratpiorka opened this issue Apr 12, 2024 · 2 comments
Closed

OS provider should support shared memory allocations #436

bratpiorka opened this issue Apr 12, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@bratpiorka
Copy link
Contributor

Rationale

OS Memory Provider should support shared memory allocations. This could be useful in scenarios, where there are two or more processes and the memory allocated in the first process is needed in the second process.

API Changes

To support shared memory, OS Memory Provider should accept new flag UMF_MEM_MAP_SHARED/PRIVATE.
In case of SHARED allocations, mmap should use file descriptor got from memfd.

OS Memory Provider should also implement IPC API.

@bratpiorka bratpiorka added the enhancement New feature or request label Apr 12, 2024
@bratpiorka
Copy link
Contributor Author

draft PR with changes: #429

@bratpiorka
Copy link
Contributor Author

closed by #429

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant