]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: dev: Use CMM_{STORE,LOAD}_SHARED to store/load glue in gluelist
authorOndřej Surý <ondrej@isc.org>
Wed, 25 Dec 2024 15:06:09 +0000 (15:06 +0000)
committerOndřej Surý <ondrej@isc.org>
Wed, 25 Dec 2024 15:06:09 +0000 (15:06 +0000)
commit6ce55429f140f949924204ecf74223fc3577bd95
tree97af3d785c9dd1865513e2b464ca1bcc1262e1be
parent1fea227ab8b247fabd75d23afd7a4b72d7584672
parentf7316b44b96e0717c1e807219a0d132f3ca25f47
fix: dev: Use CMM_{STORE,LOAD}_SHARED to store/load glue in gluelist

ThreadSanitizer has trouble understanding that gluelist->glue is
constant after it is assigned to the slabheader with cmpxchg.  Help
ThreadSanitizer to understand the code by using CMM_STORE_SHARED and
CMM_LOAD_SHARED on gluelist->glue.

Merge branch 'ondrej/hint-tsan-in-addglue' into 'main'

See merge request isc-projects/bind9!9929