From: Alessio Podda Date: Wed, 25 Jun 2025 08:30:28 +0000 (+0000) Subject: chg: dev: Use RCU for rad name X-Git-Tag: v9.21.10~27 X-Git-Url: http://git.ipfire.org/index.cgi?a=commitdiff_plain;h=32e86ed6434491dbb71be98d3f8a6e2fffaa4b83;p=thirdparty%2Fbind9.git chg: dev: Use RCU for rad name The RAD/agent domain is a functionality from RFC 9567 that provides a suffix for reporting error messages. On every query context reset, we need to check if a RAD is configured and, if so, copy it. Since we allow the RAD to be changed by reconfiguring the zone, this access is currently protected by a mutex, which causes contention. This commit replaces the mutex with RCU to reduce contention. The change results in a 3% performance improvement in the 1M delegation test. Merge branch 'alessio/rcu-rad' into 'main' See merge request isc-projects/bind9!10616 --- 32e86ed6434491dbb71be98d3f8a6e2fffaa4b83