Re: [PATCH 0/3] TSA: make sure QEMU compiles when using clang TSA

2023-02-13 Thread Kevin Wolf
Am 17.01.2023 um 14:52 hat Emanuele Giuseppe Esposito geschrieben: > This serie aims to enable clang Thread Safety Analysis (TSA) in QEMU. > The goal is to use it for our multiqueue project aiming to replace the > block layer AioContext lock with a rwlock and make sure the lock is taken > correctly

Re: [PATCH 0/3] TSA: make sure QEMU compiles when using clang TSA

2023-01-17 Thread Stefan Hajnoczi
On Tue, Jan 17, 2023 at 08:52:00AM -0500, Emanuele Giuseppe Esposito wrote: > This serie aims to enable clang Thread Safety Analysis (TSA) in QEMU. It's worth covering what TSA is and why it's useful: Thread Safety Analysis "warns about potential race conditions in code. The analysis is completel

[PATCH 0/3] TSA: make sure QEMU compiles when using clang TSA

2023-01-17 Thread Emanuele Giuseppe Esposito
This serie aims to enable clang Thread Safety Analysis (TSA) in QEMU. The goal is to use it for our multiqueue project aiming to replace the block layer AioContext lock with a rwlock and make sure the lock is taken correctly everywhere [1]. By default, TSA covers pthread mutexes, therefore when ad