Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a deadlock with non-TSX and SPU creation #12617

Merged
merged 2 commits into from
Sep 7, 2022

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Sep 7, 2022

vm::writer_lock inside SPU constructor can lead to a deadlock when the waiting PPU waits for SPU to finish a lock-line update, but the SPU waits for a different PPU which hasn't unlocked its memory mutex because it is waiting on IDM mutex to unlock. (owned by the PPU creating the SPU)
Also, improve cellVdec performance with reservations. That is also where I've seen the second PPU deadlocks initially.

@Nekotekina Nekotekina merged commit 89e0dcb into RPCS3:master Sep 7, 2022
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.

2 participants