]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use cds_lfht for lock-free hashtables in dns_adb
authorOndřej Surý <ondrej@isc.org>
Wed, 25 Jun 2025 17:02:37 +0000 (19:02 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 9 Jul 2025 19:22:48 +0000 (21:22 +0200)
commitcdeb8d1c1480be63b82f7de29517d4ff1fb05382
treeb1093e1f68ee515b619d3ad4166882b8977b6065
parentcca4b26d31ac2f28b2f405f34a943adc84de53a6
Use cds_lfht for lock-free hashtables in dns_adb

Replace the read-write locked isc_hashmap with lock-free cds_lfht
hashtable and replace the singular LRU tables for ADB names and entries
with a per-thread LRU tables.  These changes allowed to remove all the
read-write locking on the names and entries tables.
lib/dns/adb.c
lib/dns/include/dns/adb.h
lib/dns/view.c