Skip to content

Fix USM mem blocking free corruption #360

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

Merged
merged 1 commit into from
May 22, 2024

Conversation

sophimao
Copy link
Contributor

@sophimao sophimao commented May 1, 2024

If the event being waited on is completed and deleted during the traversal of command_queue->{commands|inorder_commands}, this would lead to corruption of the corresponding data structure. This change fixes this issue by deferring the deletion till the end of the current iteration.

If the event being waited on is completed and deleted during the traversal
of command_queue->{commands|inorder_commands}, this would lead to corruption
of the corresponding data structure. This change fixes this issue by deferring
the deletion till the end of the current iteration.
@sophimao sophimao force-pushed the mem-blocking-free branch from 4545e93 to 5c1df40 Compare May 1, 2024 21:14
@sophimao
Copy link
Contributor Author

sophimao commented May 1, 2024

Similar issue as #322

@sophimao sophimao marked this pull request as ready for review May 2, 2024 19:04
@sophimao sophimao requested a review from rho180 May 2, 2024 19:05
@sophimao sophimao merged commit 47050cc into intel:main May 22, 2024
23 checks passed
@sophimao sophimao deleted the mem-blocking-free branch May 22, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants