Skip to content

Reduce locking contention over fd iterations - #1111

Open
Jay Bosamiya (Microsoft) (jaybosamiya-ms) wants to merge 1 commit into
mainfrom
jayb/reduced-locking-on-iter
Open

Reduce locking contention over fd iterations#1111
Jay Bosamiya (Microsoft) (jaybosamiya-ms) wants to merge 1 commit into
mainfrom
jayb/reduced-locking-on-iter

Conversation

@jaybosamiya-ms

Copy link
Copy Markdown
Member

By storing a tiny bit of data, we don't need to bother grabbing a lock before we know which subsystem an FD belongs to when iterating, and can selectively only grab locks when pointing at the correct subsystem.

@jaybosamiya-ms
Jay Bosamiya (Microsoft) (jaybosamiya-ms) marked this pull request as ready for review July 31, 2026 04:03
@jaybosamiya-ms

Jay Bosamiya (Microsoft) (jaybosamiya-ms) commented Jul 31, 2026

Copy link
Copy Markdown
Member Author

quick note: this change is independent of other changes in the stack, but I'm placing it here since it makes maintaining the stack on my end easier rather than maintaining a mega-merge. fingers crossed the new github stacked PRs support (finally in public preview today!) will soon support merge queues + squash merges well, and we'll be able to use them; would make things a significantly easier to manage in our project

@jaybosamiya-ms
Jay Bosamiya (Microsoft) (jaybosamiya-ms) changed the base branch from jayb/fix-directory-permissions to main August 4, 2026 00:20
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

🤖 SemverChecks 🤖 No breaking API changes detected

Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered.

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.

1 participant