Skip to content

checklocks: enforce pipe and notification locks - #14326

Closed
tamird wants to merge 1 commit into
google:masterfrom
tamird:checklocks-readiness
Closed

checklocks: enforce pipe and notification locks#14326
tamird wants to merge 1 commit into
google:masterfrom
tamird:checklocks-readiness

Conversation

@tamird

@tamird tamird commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Enforce existing ownership of pipe state, waiter membership, and host FD notification registrations. Describe the notifier pause/resume lock effects so callers can be checked across save and restore.

Check pipe IO preconditions, counters, capacity, and splice offsets. Construct pipes as fresh values so their capacity can be guarded without locking an unpublished pipe. Keep the callback, restore, and external-owner contracts explicit where field annotations cannot express them.

Assisted-by: Codex

Enforce existing ownership of pipe state, waiter membership, and host FD
notification registrations. Describe the notifier pause/resume lock
effects so callers can be checked across save and restore.

Check pipe IO preconditions, counters, capacity, and splice offsets.
Construct pipes as fresh values so their capacity can be guarded without
locking an unpublished pipe. Keep the callback, restore, and
external-owner contracts explicit where field annotations cannot express
them.

Assisted-by: Codex
@tamird

tamird commented Aug 22, 2026

Copy link
Copy Markdown
Contributor Author

r? @fvoznika Could you review pipe, waiter and FD-notifier lock contracts?

Focused local Bazel checks passed. Upstream checks are pending.

Assisted-by: Codex

@github-actions
github-actions Bot requested review from carzh and zkoopmans August 22, 2026 11:52
@tamird

tamird commented Aug 23, 2026

Copy link
Copy Markdown
Contributor Author

Closing in favor of consolidated #14343. The expanded replacement commits are prepared locally; the replacement branch has not been pushed yet.

Assisted-by: Codex

@tamird tamird closed this Aug 23, 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.

1 participant