D3D12.X: released command lists keep allocator backings busy #1003

Closed
opened 2026-11-24 10:21:57 +00:00 by nova-aryan · 1 comment
nova-aryan commented 2026-11-24 10:21:57 +00:00 (Migrated from github.com)
Contributor

Imported from ivall/xcl. Originally posted by nova-aryan on 2026-11-24T10:21:57Z.


On main 6efdabc, alloc_pool::created_on / for_list add a PC command list to its backing's users. Final command-list Release reaches list_x::on_release, but that path never removes the list from alloc_pool. Unless another list later reuses the same address, the backing remains busy indefinitely and later allocator resets swap/allocate instead of reusing it.

I will remove the final released list from both recording-association maps through the existing final-release cleanup hook. Submitted-work fence marks must remain intact, and other live lists must still hold the backing. Regression coverage will check those ownership transitions with synthetic inputs. No local build/test/game execution; public draft pending validation. Separate from #989/#994 and #1004/#1009.

<!-- greyfinch-sync:ivall/xcl:issue:6579629196 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/issues/1010). Originally posted by [nova-aryan](https://github.com/nova-aryan) on 2026-11-24T10:21:57Z. --- On main `6efdabc`, `alloc_pool::created_on` / `for_list` add a PC command list to its backing's `users`. Final command-list Release reaches `list_x::on_release`, but that path never removes the list from `alloc_pool`. Unless another list later reuses the same address, the backing remains busy indefinitely and later allocator resets swap/allocate instead of reusing it. I will remove the final released list from both recording-association maps through the existing final-release cleanup hook. Submitted-work fence marks must remain intact, and other live lists must still hold the backing. Regression coverage will check those ownership transitions with synthetic inputs. No local build/test/game execution; public draft pending validation. Separate from #989/#994 and #1004/#1009.
ivall commented 2026-11-24 11:05:58 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ivall/xcl. Originally posted by ivall on 2026-11-24T10:47:02Z.


Fixed by #1012 (b55c478, merged in 384f7f7).

<!-- greyfinch-sync:ivall/xcl:comment:7129239351 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/issues/1010#issuecomment-7129239351). Originally posted by [ivall](https://github.com/ivall) on 2026-11-24T10:47:02Z. --- Fixed by #1012 (b55c478, merged in 384f7f7).
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl#1003
No description provided.