From: Alessio Podda Date: Fri, 6 Mar 2026 14:06:13 +0000 (+0000) Subject: chg: dev: Replace lock keyfile hashmap with lock pool X-Git-Tag: v9.21.20~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fd84193c73a0b5c2244e3e2a0cc0108c62693c5;p=thirdparty%2Fbind9.git chg: dev: Replace lock keyfile hashmap with lock pool Kasp used a lock per zone origin in order to prevent concurrent access to keyfiles. This lead to substantial memory consumption in the case of authoritative servers with many small zones, as lots of locks need to be allocated. Since the number of keyfile locks taken cannot exceed the number of helper threads, it makes more sense to use a lock pool of fixed size keyed by the hash of the origin name, leading to memory savings. Merge branch 'alessio/keyfile-lock-pool' into 'main' See merge request isc-projects/bind9!11633 --- 4fd84193c73a0b5c2244e3e2a0cc0108c62693c5