Repository navigation
Conversation
iyastreb
reviewed
Feb 23, 2026
tvegas1
previously approved these changes
Feb 23, 2026
iyastreb
previously approved these changes
Feb 23, 2026
tvegas1
previously approved these changes
Feb 24, 2026
iyastreb
reviewed
Mar 2, 2026
| pthread_t thread; | ||
| } ucs_stats_context_t; | ||
|
|
||
| volatile unsigned ucs_stats_context_flags = 0; |
Contributor
There was a problem hiding this comment.
just wandering, what's the rationale to move the flags out of the struct?
Member
Author
There was a problem hiding this comment.
needed to have the flags available in inline function in the header, and moving the whole struct would pull all its dependencies into stats.h as well
Member
Author
tvegas1
approved these changes
Mar 4, 2026
jeynmann
pushed a commit
to jeynmann/ucx
that referenced
this pull request
Mar 17, 2026
…penucx#11201) * TEST/STATS: Make sure statistics are disabled after test is finished * TEST/TAG: Fix modify_config placement * UCS/STATS: Fix double-free by not releasing stats nodes if stats are inactive * UCS/STATS: Avoid using stats nodes if stats are inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Currently some tests do not restore the disabled state of statistics as needed when the test is skipped, leading to warnings like
stats.c:831 UCX WARN stats node funk10:340159 still has active childrenfrom subsequent tests, for exampleib/test_md_fork