commit | f35e44e7645edbb08e35b111c10c2fc57e2905c7 | [log] [tgz] |
---|---|---|
author | Alex Bennée <alex.bennee@linaro.org> | Fri Oct 21 16:34:18 2016 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Nov 01 16:06:57 2016 +0100 |
tree | 7b818227243f7f62dcdabc4db83f23d9f474298a | |
parent | 28017e010ddf6849cfa830e898da3e44e6610952 [diff] |
exec.c: ensure all AddressSpaceDispatch updates under RCU The memory_dispatch field is meant to be protected by RCU so we should use the correct primitives when accessing it. This race was flagged up by the ThreadSanitizer. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20161021153418.21571-1-alex.bennee@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>