vkback: count slot reads in the remap-order check (rebased on #143) #148

Closed
github-bot wants to merge 1 commit from github-bot/gh-148 into main AGit
Owner

@⁠TheRifai on GitHub · 2026-12-01 22:05 UTC · original
TheRifai:slot-read-count-v3 → main · +10 −5 · 2 files · 1 commits · closed without merging

What

Rebased successor to PR #145, which conflicts after main merged #143. The change is the same: count the 12 descriptor words read at each slot read in maporder::check as a sixth path (slot), shown in inflight by path (docs/TASKS.md, "Reads of pages while their remap is under way"). No behaviour change; the conflict resolution keeps #143's primary-heap fast path intact.

The reference

No console counterpart: a rule-32 counter, like the other paths it sits beside.

Evidence

  • cargo check -p vkback --all-targets and the build pass on current main 1864b6e (with #143 merged).
  • House start, 95 s, GE-Proton11-16: inflight by path: copy-src 0, copy-dst 0, fill 2541, other spans 0, descriptor 322, slot 0 — no descriptor slot words read at Execute lay in a page of a remap under way in this run. One scene, not a proof for all scenes.
  • Run: /tmp/opencode/capture/slot-read-count-v3/20261201-230333/. Not a performance measurement.

Checklist (docs/AGENTS.md)

  • One topic; docs/TASKS.md not edited (rule 29/31)
  • No fallback, constant, switch, queue, unsafe or translator output changed (rules 2/9b/33/35/36/27)
  • Comments say what is true now (rule 3)
  • Nothing from the title, no non-free data pointers (hard constraints)
**@⁠TheRifai** on GitHub · 2026-12-01 22:05 UTC · [original](https://github.com/vktory6/VKtory/pull/148) `TheRifai:slot-read-count-v3` → `main` · +10 −5 · 2 files · 1 commits · closed without merging ## What Rebased successor to PR #145, which conflicts after main merged #143. The change is the same: count the 12 descriptor words read at each slot read in `maporder::check` as a sixth path (`slot`), shown in `inflight by path` (docs/TASKS.md, "Reads of pages while their remap is under way"). No behaviour change; the conflict resolution keeps #143's primary-heap fast path intact. ## The reference No console counterpart: a rule-32 counter, like the other paths it sits beside. ## Evidence - `cargo check -p vkback --all-targets` and the build pass on current main `1864b6e` (with #143 merged). - House start, 95 s, GE-Proton11-16: `inflight by path: copy-src 0, copy-dst 0, fill 2541, other spans 0, descriptor 322, slot 0` — no descriptor slot words read at Execute lay in a page of a remap under way in this run. One scene, not a proof for all scenes. - Run: `/tmp/opencode/capture/slot-read-count-v3/20261201-230333/`. Not a performance measurement. ## Checklist (docs/AGENTS.md) - [x] One topic; `docs/TASKS.md` not edited (rule 29/31) - [x] No fallback, constant, switch, queue, `unsafe` or translator output changed (rules 2/9b/33/35/36/27) - [x] Comments say what is true now (rule 3) - [x] Nothing from the title, no non-free data pointers (hard constraints)
Follow-up from PR #128: the index slots read at Execute did not go through `maporder::check`, so `descriptor 0` did not show whether the own-queue slot-read race is absent. Count each slot's descriptor words at Execute as a sixth path ("slot"). House run: `fill 2897`, `slot 0` — none of the descriptor words read at Execute lay in a page of a remap under way in that run. No behaviour change.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 22:07:15 +00:00
github-bot closed this pull request 2026-12-02 15:18:26 +00:00
Author
Owner

@⁠vktory6 on GitHub · 2026-12-02 15:14 UTC · original

Closing as a duplicate of #145, which is merged now (github.com/vktory6/VKtory@b447925ef8) with main merged into it and #143's fast path kept. Thanks for rebasing it; nothing from here is lost.

**@⁠vktory6** on GitHub · 2026-12-02 15:14 UTC · [original](https://github.com/vktory6/VKtory/pull/148#issuecomment-7349990869) Closing as a duplicate of #145, which is merged now (https://github.com/vktory6/VKtory/commit/b447925ef89391926d5b5e0a44125d0bc387baf9) with main merged into it and #143's fast path kept. Thanks for rebasing it; nothing from here is lost.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.