]> 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 10:57:46 +0000 (11:57 +0100)
commit1b9df6779d3a3dcca85f6de0e57a91d24233b482
tree8f5e1d494cc96ec1bac21c691c58e58550899dab
parent777fb6a6f2fcf8f47e4a48e6d8ac4c87145a4755
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