Skip to content

Fix duplicate partition ID parsing hang#5

Merged
JiandiAnNVIDIA merged 1 commit into
NVIDIA:mainfrom
juliushp:fix/fmpm-duplicate-partition-id-hang
Jul 2, 2026
Merged

Fix duplicate partition ID parsing hang#5
JiandiAnNVIDIA merged 1 commit into
NVIDIA:mainfrom
juliushp:fix/fmpm-duplicate-partition-id-hang

Conversation

@juliushp

@juliushp juliushp commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

parsePartitionIdlistString ignored duplicate partition IDs with a continue before advancing the strtok tokenizer. When --set-activated-list contained a repeated valid ID such as 5,5, the loop kept reprocessing the same token forever and pinned the caller.

Keep the existing behavior of ignoring duplicates, but only append unseen IDs and always fall through to the tokenizer advance at the end of the loop body.

parsePartitionIdlistString ignored duplicate partition IDs with a continue before advancing the strtok tokenizer. When --set-activated-list contained a repeated valid ID such as 5,5, the loop kept reprocessing the same token forever and pinned the caller.

Keep the existing behavior of ignoring duplicates, but only append unseen IDs and always fall through to the tokenizer advance at the end of the loop body.
@JiandiAnNVIDIA JiandiAnNVIDIA merged commit 8ec6fb8 into NVIDIA:main Jul 2, 2026
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