Skip to content

checklocks: guard KCOV and deferred task work - #14304

Closed
tamird wants to merge 1 commit into
google:masterfrom
tamird:checklocks-kcov-task-work
Closed

checklocks: guard KCOV and deferred task work#14304
tamird wants to merge 1 commit into
google:masterfrom
tamird:checklocks-kcov-task-work

Conversation

@tamird

@tamird tamird commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Enforce existing KCOV state and deferred-task-work mutex contracts. Preserve countBlock's borrowed-memory lifetime requirement and the unlocked callback phase that lets task work register additional work.

Assisted-by: Codex

@tamird

tamird commented Aug 22, 2026

Copy link
Copy Markdown
Contributor Author

r? @shailend-g Could you review KCOV/task-work ownership and the unlocked callback phase?

Focused local Bazel checks passed. Upstream checks have not reported yet.

Assisted-by: Codex

Enforce existing KCOV state and deferred-task-work mutex contracts.
Require atomic access to the task-work count, allowing lock-free reads
while checking that updates hold the queue mutex.

Preserve countBlock's borrowed-memory lifetime requirement and explain
why its entry annotation cannot constrain later BlockSeq accesses. Keep
task-work callbacks outside the queue lock so they may register
additional work.

Assisted-by: Codex
@tamird
tamird force-pushed the checklocks-kcov-task-work branch from f1f8c96 to 65ecfe0 Compare August 22, 2026 16:19
@tamird

tamird commented Aug 23, 2026

Copy link
Copy Markdown
Contributor Author

Closing in favor of consolidated #14345. 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