]> git.proxmox.com Git - mirror_qemu.git/commit - qom/cpu.c
qom/cpu: atomically clear the tb_jmp_cache
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 30 Sep 2016 21:30:58 +0000 (22:30 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 4 Oct 2016 08:00:26 +0000 (10:00 +0200)
commitce7cf6a973f4b614162b9518954d441fa5e32fc6
tree92689693586f5738d981c13c4096e879f51d6c87
parentb6b3ccfda015dcd5ab50f70c189ee5cc6c622e91
qom/cpu: atomically clear the tb_jmp_cache

The ThreadSanitizer rightly complains that something initialised with a
normal access is later updated and read atomically.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20160930213106.20186-8-alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qom/cpu.c