[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 976a55: Revert "linux-user: un-parent OBJECT(
From: |
Richard Henderson |
Subject: |
[Qemu-commits] [qemu/qemu] 976a55: Revert "linux-user: un-parent OBJECT(cpu) when clo... |
Date: |
Thu, 18 Aug 2022 19:30:05 -0700 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 976a55c0fe427a0084823152447cf5bb9092d24f
https://github.com/qemu/qemu/commit/976a55c0fe427a0084823152447cf5bb9092d24f
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-08-18 (Thu, 18 Aug 2022)
Changed paths:
M linux-user/syscall.c
Log Message:
-----------
Revert "linux-user: un-parent OBJECT(cpu) when closing thread"
This reverts commit 52f0c1607671293afcdb2acc2f83e9bccbfa74bb.
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: Richard Henderson <richard.henderson@linaro.org>
- [Qemu-commits] [qemu/qemu] 976a55: Revert "linux-user: un-parent OBJECT(cpu) when clo...,
Richard Henderson <=