Repository navigation
Conversation
bmjask
force-pushed
the
stack/082-forget-list-before-release
branch
from
November 27, 2026 00:45
5a4326b to
f12e7e2
Compare
cl_release dropped XCL state keyed by a PC command list address only after the runtime's final Release had freed the list. A list created on another thread could immediately reuse that address and lose its bind state, allocator, last submit, and DRED marks. Probe the final reference and forget keyed state before the freeing Release, matching the established resource-release pattern. A fake list whose Release reuses its address immediately verifies the new list keeps its state. Assisted-by: Claude Code (Claude Opus 5.5) Assisted-by: Codex (GPT-5.6-sol)
bmjask
force-pushed
the
stack/082-forget-list-before-release
branch
from
November 27, 2026 05:14
f12e7e2 to
deb43d9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #84.
This is an internal draft stack in
bmjask/xcl; it is not an upstream merge request.What and why
This unit isolates d3d12.x: forget a command list before the runtime frees it as one reviewable step in the redesign.
Upstream overlap
This is patch-identical to upstream PR xcl-dev#2691; PR xcl-dev#2852 is a newer treatment of the same release-order problem. This draft is reconciliation-only.
What is in it
5a4326b7is the cleaned-stack form of integrated commit07281054.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
scripts/smoke.ps1main/head comparisonAI 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.