Repository navigation
Conversation
A recorded list can retain dynamic descriptors after the title releases its heap. If another title heap lands at that address before list reset, the old release can mark slots in the replacement heap as available, even if another recorded list owns them. Include a host heap identity in each reservation. Check it under the heap-registry lock before returning slots. The regression passes a retired heap identity through lookup of a full replacement heap, then verifies that only the replacement's own identity can release a slot. Based-on: fxceless/victory-fork#1324 Tested-on: RX 6800 and Lavapipe, Fedora Linux 45, Linux native Assisted-by: gpt-6.2 sol xhigh
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.
A command list can keep dynamic descriptor slots after the title releases the original heap. If a new heap is registered at the same title address before the list resets, the old reservation can free slots held by a different list in the replacement heap.
The Linux native backport carries the host heap identity with each reservation and checks it while holding the heap-registry lock. The regression looks up a full replacement heap using the retired identity, verifies that every slot stays reserved, then verifies that a release with the matching identity gives the slot back. It passed on the RX 6800 and Lavapipe. The integration branch also passed the existing descriptor sharing and exhaustion checks on both backends. This verifies the release path in isolation. Its role in the previous title run is unconfirmed. Fxceless source
Tested-on: RX 6800 and Lavapipe, Fedora Linux 45, Linux native
Assisted-by: gpt-6.2 sol xhigh