Skip to content
Snippets Groups Projects
Commit 976a55c0 authored by Richard Henderson's avatar Richard Henderson
Browse files

Revert "linux-user: un-parent OBJECT(cpu) when closing thread"


This reverts commit 52f0c160.

This caused a regression in arm/aarch64.

We are hard-coding ARMCPRegInfo pointers into TranslationBlocks,
for calling into helper_{get,set}cp_reg{,64}.  So we have a race
condition between whichever cpu thread translates the code first
(encoding the pointer), and that cpu thread exiting, so that the
next execution of the TB references a freed data structure.

Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent 4d65d4ba
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment