vkback: count slot reads in the remap-order check #145
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/vktory6--VKtory!145
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-145"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@TheRifai on GitHub · 2026-12-01 21:32 UTC · original
TheRifai:slot-read-count-v2→main· +30 −5 · 2 files · 3 commits · merged 2026-12-02 15:13 UTCWhat
Follow-up from PR #128: the index slots read at
Executenever went throughmaporder::check, sodescriptor 0could not show whether the own-queue slot-read race is absent. Each slot's 12 descriptor words are now counted as a sixth path (slot) in theinflight by pathreport (docs/TASKS.md, "Reads of pages while their remap is under way"). No behaviour change.The reference
No console counterpart: a rule-32 counter, like the other paths it sits beside.
Evidence
cargo check -p vkback --all-targets, 164 native tests, and the build all pass.inflight by path: copy-src 0, copy-dst 0, fill 2897, other spans 0, descriptor 0, slot 0— no descriptor words read at Execute lay in a page of a remap under way in this run. This is one scene, not a proof for all scenes./tmp/opencode/capture/slot-read-count/20261201-222857/. Not a performance measurement.Checklist (docs/AGENTS.md)
docs/TASKS.mdnot edited (rule 29/31)unsafeor translator output changed (rules 2/9b/33/35/36/27)@TheRifai on GitHub · 2026-12-01 22:05 UTC · original
Superseded by PR #148: main merged #143 while this branch was open, and #145 now conflicts. #148 is the same counter rebased onto current main with #143's primary-heap fast path intact; fresh house evidence is in its description. I won't close this one myself — please use #148 instead.
@vktory6 on GitHub · 2026-12-02 15:14 UTC · original
Merged as
github.com/vktory6/VKtory@b447925ef8, thanks. Two changes from my side on your branch: the remap-order check now takes one lock for all of a list's slot addresses (maporder::check_all) instead of one per slot, and I merged main into it to keep #143's fast path. Tests and policy passed on private main.#148 is the same change rebased on #143, so I'm closing it as a duplicate of this one.