Files
bind9/lib/dns
Ondřej SurýandMark Andrews 81d4230e60 Update STALE and ANCIENT header attributes atomically
The ThreadSanitizer found a data race when updating the stale header.
Instead of trying to acquire the write lock and failing occasionally
which would skew the statistics, the dns_rdatasetheader_t.attributes
field has been promoted to use stdatomics.  Updating the attributes in
the mark_header_ancient() and mark_header_stale() now uses the cmpxchg
to update the attributes forfeiting the need to hold the write lock on
the tree.  Please note that mark_header_ancient() still needs to hold
the lock because .dirty is being updated in the same go.
2020-07-08 10:50:52 +10:00
..
2020-06-05 13:19:49 +02:00
2020-06-18 10:03:05 +02:00
2020-07-05 23:52:19 +00:00
2020-06-23 20:20:39 +10:00
2020-05-04 09:14:58 +02:00
2020-06-30 09:51:04 +02:00
2020-05-07 11:44:48 -03:00
2020-06-05 13:19:49 +02:00
2020-06-05 08:34:51 +10:00
2020-05-01 10:36:45 +02:00
2020-04-21 14:19:48 +02:00
2020-05-13 15:35:28 +10:00
2020-04-03 09:27:15 +02:00