On 10/28/22 04:36, Alex Bennée wrote:
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<[email protected]>
Cc: Alexandre Iooss<[email protected]>
---
  contrib/plugins/execlog.c | 38 ++++++++++++++++++++++++++++++--------
  1 file changed, 30 insertions(+), 8 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to