]> git.ipfire.org Git - thirdparty/bind9.git/commit
chg: dev: Use RCU for rad name
authorAlessio Podda <alessio@isc.org>
Wed, 25 Jun 2025 08:30:28 +0000 (08:30 +0000)
committerAlessio Podda <alessio@isc.org>
Wed, 25 Jun 2025 08:30:28 +0000 (08:30 +0000)
commit32e86ed6434491dbb71be98d3f8a6e2fffaa4b83
treeb875a8de04f6381a3b0601ffe01f644101405ce6
parente20d44f65898dcb1ffde03c51d0f4b226b0299a1
parent19818aebf7f5daf6644ca6a5e4eb3194babd6318
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