Skip to content

Frame clock: remove paced wait allocations and validate writes - #90

Draft
bmjask wants to merge 1 commit into
stack/086-bound-far-jump-allocationfrom
stack/087-frame-wait-allocation
Draft

bmjask wants to merge 1 commit into
stack/086-bound-far-jump-allocationfrom
stack/087-frame-wait-allocation

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #89.

This is an internal draft stack in bmjask/xcl; it is not an upstream merge request.

What and why

This unit isolates frame clock: remove paced wait allocations and validate writes as one reviewable step in the redesign.

Upstream overlap

This adapts upstream PR xcl-dev#2692 and is retained only as an internal reconciliation draft.

What is in it

  • 5fcf5275 is the cleaned-stack form of integrated commit 21450205.

The patch content is preserved; only ancestry changed to omit a canceled add/revert sequence.

Tested

Tests were not rerun while packaging this already-integrated change into the draft stack.

Regression run

Not run during stack packaging.

Not tested

  • Windows MSVC build and test suite
  • D3D12 GPU execution
  • scripts/smoke.ps1 main/head comparison

AI use

Codex, GPT-5.6-sol, removed canceled ancestry, created the stack branch, and drafted this description. It did not author new code during stack packaging.

@bmjask
bmjask force-pushed the stack/087-frame-wait-allocation branch 2 times, most recently from b4bb5ee to f11d914 Compare November 27, 2026 05:14
Validate WaitFrameEventX's signaled-index target as committed, unguarded, and writable without touching its pages. Replace ancillary and paced wait handle vectors with fixed stack storage, avoid the scheduled-handle Arc clone on the paced path, and use deques for bounded frame history eviction.

Adapted from xcl-dev#2692.
Part of #103.

Assisted-by: Google Antigravity (Gemini 4 Neon)
Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/086-bound-far-jump-allocation branch from 42892e4 to e1634cd Compare November 28, 2026 01:35
@bmjask
bmjask force-pushed the stack/087-frame-wait-allocation branch from f11d914 to 8aba55b Compare November 28, 2026 01:35
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

@github-actions github-actions Bot added the stale label Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant