Skip to content

Reduce locking contention over fd iterations - #1111

Open
jaybosamiya-ms wants to merge 1 commit into
jayb/fix-directory-permissionsfrom
jayb/reduced-locking-on-iter
Open

Reduce locking contention over fd iterations#1111
jaybosamiya-ms wants to merge 1 commit into
jayb/fix-directory-permissionsfrom
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
jaybosamiya-ms marked this pull request as ready for review July 31, 2026 04:03
@jaybosamiya-ms

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
jaybosamiya-ms force-pushed the jayb/fix-directory-permissions branch from a9bb991 to 4326f3b Compare July 31, 2026 21:49
@jaybosamiya-ms
jaybosamiya-ms force-pushed the jayb/reduced-locking-on-iter branch from 31ee930 to 3e69d02 Compare July 31, 2026 21:49
@github-actions

Copy link
Copy Markdown

ℹ️ Note: This semver check was run against the jayb/fix-directory-permissions branch, not main or ulitebox.

🤖 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