]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use thread-friendly mctxpool and taskpool in ns_client.
authorWitold Kręcicki <wpk@isc.org>
Tue, 28 Jan 2020 10:05:07 +0000 (11:05 +0100)
committerWitold Kręcicki <wpk@isc.org>
Tue, 18 Feb 2020 09:31:13 +0000 (10:31 +0100)
commit952f7b503dfe761878ebd64b2b3bd42757bf06ab
tree987a19010a04f2ce50899738c98c9bd6d3e067ef
parent23bd04d2f167e4a99d019cfbeee1881733c12080
Use thread-friendly mctxpool and taskpool in ns_client.

Make ns_client mctxpool more thread-friendly by sharding it by
netmgr threadid, use task pool also sharded by thread id to avoid
lock contention.
bin/named/server.c
lib/ns/client.c
lib/ns/include/ns/client.h
lib/ns/include/ns/interfacemgr.h
lib/ns/interfacemgr.c
lib/ns/tests/nstest.c