diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-06-07 17:31:04 +0100 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2016-06-08 12:06:57 +0300 |
commit | 014628a705bdaf31c09915c29e61f4088956564d (patch) | |
tree | 1ece1506156b7c2ad1c98dce7cc1feccba315e82 /scripts | |
parent | da2a34f7f9999da09f6c307b40b66eba8cc38283 (diff) | |
download | qemu-014628a705bdaf31c09915c29e61f4088956564d.zip qemu-014628a705bdaf31c09915c29e61f4088956564d.tar.gz qemu-014628a705bdaf31c09915c29e61f4088956564d.tar.bz2 |
linux-user: In fork_end(), remove correct CPUs from CPU list
In fork_end(), we must fix the list of current CPUs to match the fact
that the child of the fork has only one thread. Unfortunately we were
removing the wrong CPUs from the list, which meant that if the child
subsequently did an exclusive operation it would deadlock in
start_exclusive() waiting for a sibling CPU which didn't exist.
In particular this could cause hangs doing git submodule init
operations, as reported in https://bugs.launchpad.net/qemu/+bug/955379
comment #47.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions