Skip to content

D3D12.X: signal allocator retirement fences outside global state - #113

Draft
bmjask wants to merge 1 commit into
stack/109-fold-unobserved-exec-selectsfrom
stack/110-signal-retirement-unlocked
Draft

bmjask wants to merge 1 commit into
stack/109-fold-unobserved-exec-selectsfrom
stack/110-signal-retirement-unlocked

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #112.

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

What and why

This unit isolates d3d12.x: signal allocator retirement fences outside global state as one reviewable step in the redesign.

What is in it

  • 673c432a is the cleaned-stack form of integrated commit 7f810f26.

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/110-signal-retirement-unlocked branch 2 times, most recently from fb2b071 to 90ee267 Compare November 27, 2026 01:01
Pending submit completion created fences and entered the queue driver while
holding the allocator pool's global lock. That serialized unrelated queues
and made driver callbacks capable of deadlocking allocator operations.

Use an Arc-owned per-queue marker with monotonic reentrant value
reservations. Create and Signal outside global state, then publish marks
only after exact marker revalidation. Failed signals and replaced queue
generations retain their submit pins fail-closed.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/109-fold-unobserved-exec-selects branch from 4d59a58 to b41781e Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/110-signal-retirement-unlocked branch from 90ee267 to 2c92401 Compare November 27, 2026 05:14
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