Skip to content

Fix: do not use the value field as a next pointer #1419

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

Conversation

ldorau
Copy link
Contributor

@ldorau ldorau commented Jul 4, 2025

Do not use the value field as a next pointer,
because it sometimes can lead to race conditions
and reusing already used leaves like here:
https://github.com/ldorau/unified-memory-framework/actions/runs/16074523240/job/45366469415

Description

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly

Do not use the value field as a next pointer,
because it sometimes can lead to race conditions
and reusing already used leaves.

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
@ldorau ldorau requested a review from a team as a code owner July 4, 2025 14:05
@ldorau ldorau requested review from lplewa and bratpiorka July 4, 2025 14:05
@ldorau
Copy link
Contributor Author

ldorau commented Jul 4, 2025

@lplewa @bratpiorka please review

@bratpiorka bratpiorka merged commit 2dda433 into oneapi-src:main Jul 4, 2025
144 of 150 checks passed
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.

3 participants