Re: [Qemu-devel] tsan: many race conditions involving mmio

2019-04-18 Thread Paolo Bonzini
On 17/04/19 21:50, Frank Yang via Qemu-devel wrote: > What's a quick fix for stuff like this? It's a false positive. The access in T14 is protected via rcu_read_lock/rcu_read_unlock. Paolo > WARNING: ThreadSanitizer: data race (pid=168036) > Write of size 8 at 0x7b900017a100 by thread T1 (mut

[Qemu-devel] tsan: many race conditions involving mmio

2019-04-17 Thread Frank Yang via Qemu-devel
What's a quick fix for stuff like this? WARNING: ThreadSanitizer: data race (pid=168036) Write of size 8 at 0x7b900017a100 by thread T1 (mutexes: write M2141): #0 free /toolchain/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:715:3 (qemu-system-x86_64+0x484028) #1 phys_secti