]> git.ipfire.org Git - thirdparty/bind9.git/commit
Badcache with multiple locks.
authorWitold Kręcicki <wpk@isc.org>
Mon, 17 Feb 2020 09:37:39 +0000 (10:37 +0100)
committerWitold Kręcicki <wpk@isc.org>
Mon, 2 Mar 2020 11:13:09 +0000 (12:13 +0100)
commit47e5f5564cebefcf22877eb7ee55a776e3d7c17e
treef0ca0c25c7cf79fbd48ae7f12586761221e4baeb
parentc309fcabec0f2a2ce3cb7d064efb2b1b8903789a
Badcache with multiple locks.

Previously badcache used one single mutex for everything, which
was causing performance issues. Use one global rwlock for the whole
hashtable and per-bucket mutexes.
lib/dns/badcache.c