-
Notifications
You must be signed in to change notification settings - Fork 33
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
IPC API of the file provider does not work #848
Labels
bug
Something isn't working
Comments
4 tasks
ldorau
added a commit
to ldorau/unified-memory-framework
that referenced
this issue
Nov 5, 2024
Alignment passed to `file_alloc()` must be a power of two and a multiple or a divider of the page size. Align up the alignment in `file_alloc()` to the page size. file_open_ipc_handle() has to use the memory protection and visibility got from the IPC handle, so let's add the memory protection and visibility to the IPC handle. A length and an offset passed to mmap() in `file_open_ipc_handle()` and `file_close_ipc_handle()` have to be aligned to the page size. Ref: oneapi-src#838 Fixes: oneapi-src#848 Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
3 tasks
ldorau
added a commit
to ldorau/unified-memory-framework
that referenced
this issue
Nov 5, 2024
Alignment passed to `file_alloc()` must be a power of two and a multiple or a divider of the page size. Align up the alignment in `file_alloc()` to the page size. file_open_ipc_handle() has to use the memory protection and visibility got from the IPC handle, so let's add the memory protection and visibility to the IPC handle. A length and an offset passed to mmap() in `file_open_ipc_handle()` and `file_close_ipc_handle()` have to be aligned to the page size. Ref: oneapi-src#838 Fixes: oneapi-src#848 Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau
added a commit
to ldorau/unified-memory-framework
that referenced
this issue
Nov 5, 2024
Alignment passed to `file_alloc()` must be a power of two and a multiple or a divider of the page size. Align up the alignment in `file_alloc()` to the page size. file_open_ipc_handle() has to use the memory protection and visibility got from the IPC handle, so let's add the memory protection and visibility to the IPC handle. A length and an offset passed to mmap() in `file_open_ipc_handle()` and `file_close_ipc_handle()` have to be aligned to the page size. Ref: oneapi-src#838 Fixes: oneapi-src#848 Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau
added a commit
to ldorau/unified-memory-framework
that referenced
this issue
Nov 6, 2024
Alignment passed to `file_alloc()` must be a power of two and a multiple or a divider of the page size. Align up the alignment in `file_alloc()` to the page size. file_open_ipc_handle() has to use the memory protection and visibility got from the IPC handle, so let's add the memory protection and visibility to the IPC handle. Ref: oneapi-src#838 Fixes: oneapi-src#848 Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IPC API of the file provider does not work.
Ref: #847
Environment Information
Please provide a reproduction of the bug:
See: #847
See: https://github.com/oneapi-src/unified-memory-framework/actions/runs/11572419084/job/32212568727?pr=847
How often bug is revealed:
always
The text was updated successfully, but these errors were encountered: