]> git.ipfire.org Git - thirdparty/bind9.git/commit
Rewrite the QID lookup table to cds_lfht
authorOndřej Surý <ondrej@isc.org>
Thu, 14 Sep 2023 16:01:39 +0000 (18:01 +0200)
committerOndřej Surý <ondrej@isc.org>
Sat, 16 Sep 2023 05:32:17 +0000 (07:32 +0200)
commit282c4709b87ca370e6f00d4be39551064e2f19be
treeb717eafbada64b91870606d02169b7607e13e350
parent7be52f1badea29b906ece9fc87b57769cb2d1ebb
Rewrite the QID lookup table to cds_lfht

Looking up unique message ID in the dns_dispatch has been using custom
hash tables.  Rewrite the custom hashtable to use cds_lfht API, removing
one extra lock in the cold-cache resolver hot path.
lib/dns/dispatch.c
lib/isc/include/isc/sockaddr.h