[lttng-dev] userspace-rcu and ThreadSanitizer
Duncan Sands
baldrick at free.fr
Fri Mar 17 12:57:05 EDT 2023
Hi Ondřej,
> I have two questions:
>
> 1. I've tried to help TSAN by replacing the custom atomics with __atomic gcc
> primitives - that seems to work pretty well. Note that using C11 stdatomics
> is frankly not possible here because it would require wrapping everything into
> _Atomic().
I'm using the attached patch which does much the same.
Ciao, Duncan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pacify_tsan.diff
Type: text/x-patch
Size: 1836 bytes
Desc: not available
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20230317/ebfa16bc/attachment.bin>
More information about the lttng-dev
mailing list