Skip to content

D3D12.X: make exact eviction detachment atomic - #290

Draft
bmjask wants to merge 1 commit into
stack/286-restoration-stallsfrom
stack/287-atomic-eviction-detach
Draft

bmjask wants to merge 1 commit into
stack/286-restoration-stallsfrom
stack/287-atomic-eviction-detach

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #289.

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

What and why

This unit isolates d3d12.x: make exact eviction detachment atomic as one reviewable step in the redesign.

What is in it

  • 8a3918c3 is the rebased logical commit.

Tested

The complete rewritten stack was verified tree-identical to integrated commit 963dcdca. Tests were not rerun during stack packaging.

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, rebased the existing logical commit onto the cleaned stack, verified final tree identity, created the stack branch, and drafted this description.

@bmjask
bmjask force-pushed the stack/287-atomic-eviction-detach branch from 8a3918c to 81cc7b2 Compare November 27, 2026 00:46
@bmjask
bmjask force-pushed the stack/286-restoration-stalls branch from 2a6ff29 to ce5607a Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/287-atomic-eviction-detach branch from 81cc7b2 to 7741250 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/286-restoration-stalls branch from ce5607a to f69c655 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/287-atomic-eviction-detach branch 3 times, most recently from 8354aae to eccfa50 Compare November 27, 2026 12:44
Prepare the pressure path for real eviction without exposing a partially detached pipeline. Exact detachment now claims timestamp writers, revalidates identity and age under the state locks, and transfers every native owner as one transaction.

The primitive remains unwired in production: the observer still performs shadow preflight only. Returned owners retire outside admission and state locks, with RAII cleanup covering unwind and reentrant Release.

Windows tests were cross-compiled but not executed on this Linux host.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/286-restoration-stalls branch from b54df1a to 3b7cfe1 Compare November 27, 2026 12:52
@bmjask
bmjask force-pushed the stack/287-atomic-eviction-detach branch from eccfa50 to 12c1d21 Compare November 27, 2026 12:52
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