D3D12.X: stop released lists holding allocator recordings #1012
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1012
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1012/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@nova-aryan on GitHub · 2026-11-24 10:23 UTC · original
nova-aryan:contrib/allocator-list-release→main· +82 −0 · 3 files · 1 commits · closed without mergingFinal command-list Release cleans up
list_xstate but leaves the list in its command allocator backing'susers. That makes an otherwise idle backing permanently busy unless the address is reused, preventing reuse on later allocator resets. Remove the released list's recording association through the existing final-release cleanup hook. Fixes #1010.What is in it
alloc_pool.rs: forget the released list in both association maps, preserving other live users and every submitted-work fence.list_x.rs: connect this cleanup to the existing final-release path, also used by DMA lists.Tested
6efdabc;git diff --check: exit 0.Regression run
Not run. Main/head retail smoke blocks are missing; keep this a draft pending Windows validation.
Not tested
AI use
Codex (GPT-6) inspected the code, wrote the patch/regression and prepared this description. The exact backend model identifier was not provided in this session.
@ivall on GitHub · 2026-11-24 10:47 UTC · original
Thanks – your commit is
b55c478onmain. Merged intomaintogether with #1009, #1012 and #1023 (merge384f7f7). Taken without its README sentence: the README tells users what works, and these are internal details. #1012 and #1023 both added code right aftermove_listand tests at the same place; the conflicts were resolved by keeping both.Tested on the merged tree (it was not run before, so here it is):
cargo build --workspace: no warnings.cargo test --workspace --no-fail-fast -- --test-threads=4: 737 passed, 0 failed, 41 ignored, no SKIPPED.a_spare_whose_reset_fails_stays_available_for_retry(spare removed before the Reset),released_lists_leave_only_live_recordings_and_gpu_work_holding_the_backing(noforget_listinon_release),reset_commits_state_only_after_native_success_and_always_restores_vtable(association committed on a failed Reset).mainbefore it the same way: no crash, no device removal, exit 0; 1500 frames against 1200; peak process commit 29.2 GB against 29.7 GB; the same allocator swap counts.Pull request closed