]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
chg: dev: Use lock-free hashtable for storing resolver fetch contexts
authorOndřej Surý <ondrej@isc.org>
Tue, 23 Sep 2025 22:08:45 +0000 (00:08 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 23 Sep 2025 22:08:45 +0000 (00:08 +0200)
Replace the locked hashmap with the lock-free hashtable from the RCU
library and protect the fetch contexts against reuse by replacing the
libisc reference counting with urcu_ref that can soft-fail in situation
where the reference count is already zero.  This allows us to easily
skip re-using the fetch context if it is already in process of being
destroyed.

Merge branch 'ondrej/use-urcu-lfht-for-resolver-tables' into 'main'

See merge request isc-projects/bind9!10653


Trivial merge