Skip to content

[hyperactor] relax mailbox flush counters#4259

Open
mariusae wants to merge 1 commit into
gh/mariusae/687/basefrom
gh/mariusae/687/head
Open

[hyperactor] relax mailbox flush counters#4259
mariusae wants to merge 1 commit into
gh/mariusae/687/basefrom
gh/mariusae/687/head

Conversation

@mariusae

@mariusae mariusae commented Jun 16, 2026

Copy link
Copy Markdown
Member

Stack from ghstack (oldest at bottom):

Use relaxed ordering for the mailbox submitted and completed counters because they are monotonic progress markers, not data publication fences. Register the flush waiter before checking the completed counter so notify_waiters() cannot race between the check and the wait.

Differential Revision: D108622921

NOTE FOR REVIEWERS: This PR has internal Meta-specific changes or comments, please review them on Phabricator!

[ghstack-poisoned]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant