From: Alessio Podda Date: Tue, 2 Sep 2025 09:57:30 +0000 (+0000) Subject: chg: dev: Lazily allocate fetch counter X-Git-Tag: v9.21.12~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e3e4a5c19b1e9dc639a7ff7055d803de0f9f0a2;p=thirdparty%2Fbind9.git chg: dev: Lazily allocate fetch counter The counter in ns_client_t is used to track the maximum number of recursions in the resolver, but it is created unconditionally when starting the client and deallocated when resetting it. This commit defers the allocation of the counter till recursion needs to actually happen, speeding up authoritative workloads in perflab by 1.5~2%. Merge branch 'alessio/lazy-fetch-counter-alloc' into 'main' See merge request isc-projects/bind9!10917 --- 8e3e4a5c19b1e9dc639a7ff7055d803de0f9f0a2