diff options
| author | Alex Bennée <alex.bennee@linaro.org> | 2022-10-27 19:36:34 +0100 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2022-10-31 20:37:59 +0000 |
| commit | 14fd492b89b512735ac3abf8f5300db865129378 (patch) | |
| tree | 55b3587dff5b80d907b207c56ca8309d57ab9b54 /linux-user/hppa/cpu_loop.c | |
| parent | a4cc0b7dd7dc27f6afb5d4e0338d953e36319c65 (diff) | |
| download | focaccia-qemu-14fd492b89b512735ac3abf8f5300db865129378.tar.gz focaccia-qemu-14fd492b89b512735ac3abf8f5300db865129378.zip | |
contrib/plugins: protect execlog's last_exec expansion
We originally naively treated expansion as safe because we expected each new CPU/thread to appear in order. However the -M raspi2 model triggered a case where a new high cpu_index thread started executing just before a smaller one. Clean this up by converting the GArray into the simpler GPtrArray and then holding a lock for the expansion. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Cc: Alexandre Iooss <erdnaxe@crans.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20221027183637.2772968-29-alex.bennee@linaro.org>
Diffstat (limited to 'linux-user/hppa/cpu_loop.c')
0 files changed, 0 insertions, 0 deletions