Skip to content

Conversation

@Erarndt
Copy link
Contributor

@Erarndt Erarndt commented Jul 17, 2025

Fixes #

Context

This PR addresses issues that were identified in this PR #11918 that were causing failures on ARM64.

Changes Made

Testing

Notes

Copilot AI review requested due to automatic review settings July 17, 2025 21:06

This comment was marked as outdated.

@rainersigwald rainersigwald requested a review from Copilot July 22, 2025 16:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses ARM64-specific failures by refactoring the node communication packet queue implementation to prevent instruction reordering issues and improve resource management. The changes replace thread-based packet draining with an async task-based approach and add explicit memory barriers.

Key changes:

  • Refactored packet queue draining from dedicated thread to async Task-based implementation
  • Added memory barriers to prevent instruction reordering on ARM64 architecture
  • Improved resource management with proper using statements and disposal patterns

Copy link
Member

@rainersigwald rainersigwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy to go in with this but let's let @YuliiaKovalova coordinate an isolated insertion so we can hopefully see more clearly if it's introducing problems.

Copy link
Member

@YuliiaKovalova YuliiaKovalova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now it's the best time to have it isolated :)

@YuliiaKovalova YuliiaKovalova merged commit 533b6c5 into dotnet:main Jul 22, 2025
9 checks passed
rainersigwald added a commit that referenced this pull request Jul 24, 2025
@Erarndt Erarndt deleted the erarndt/drainPacketQueueReorderFix branch September 22, 2025 18:09
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