Landing: 929b1c42f3d2
Project / Subsystem
gcc / libgomp
Date
2026-07-14
Author
Tobias Burnus
Commit
929b1c42f3d23dcffacdedb005ab83d3607b47ce
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- libgomp
- patch_id
- —
- commit_hash
- 929b1c42f3d23dcffacdedb005ab83d3607b47ce
- source_type
- github
- headline
- Robustify device distance retrieval in libgomp
- tldr
- Fixes a data race and handles non-contiguous node numbering in libgomp's NUMA device distance retrieval.
- author
- Tobias Burnus
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • libgomp
- • NUMA
- • concurrency
- • performance
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-14T00:00:00.000Z
This commit addresses issues in libgomp’s retrieval of NUMA (Non-Uniform Memory Access) device distances. It introduces fixes to prevent a data race during initialization and ensures proper handling of systems where NUMA nodes are not numbered consecutively. This makes the gomp_get_numa_distance function more robust and reliable in diverse NUMA environments.