]> git.ipfire.org Git - thirdparty/bind9.git/commit
Reduce the number of clientmgr objects created
authorOndřej Surý <ondrej@sury.org>
Sat, 22 May 2021 16:12:11 +0000 (18:12 +0200)
committerOndřej Surý <ondrej@sury.org>
Mon, 24 May 2021 18:44:54 +0000 (20:44 +0200)
commit28b65d8256ffcf7adac1c14db4cf90cd0aec5598
tree6bee1c5f7d41b89fe88ff9d815b81d338260bce2
parentaad7856b8efc011ef0b7cb38c6b9076697e40712
Reduce the number of clientmgr objects created

Previously, as a way of reducing the contention between threads a
clientmgr object would be created for each interface/IP address.

We tasks being more strictly bound to netmgr workers, this is no longer
needed and we can just create clientmgr object per worker queue (ncpus).

Each clientmgr object than would have a single task and single memory
context.
24 files changed:
bin/named/server.c
lib/dns/acl.c
lib/dns/include/dns/acl.h
lib/dns/include/dns/view.h
lib/dns/resolver.c
lib/dns/rrl.c
lib/dns/view.c
lib/dns/win32/libdns.def.in
lib/dns/zone.c
lib/isc/include/isc/netmgr.h
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr.c
lib/isc/win32/libisc.def.in
lib/ns/client.c
lib/ns/include/ns/client.h
lib/ns/include/ns/interfacemgr.h
lib/ns/interfacemgr.c
lib/ns/query.c
lib/ns/tests/listenlist_test.c
lib/ns/tests/notify_test.c
lib/ns/tests/nstest.c
lib/ns/tests/query_test.c
lib/ns/update.c
lib/ns/win32/libns.def