]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: dev: Try to skip lock on fully lower names
authorOndřej Surý <ondrej@isc.org>
Wed, 4 Jun 2025 10:48:18 +0000 (10:48 +0000)
committerOndřej Surý <ondrej@isc.org>
Wed, 4 Jun 2025 10:48:18 +0000 (10:48 +0000)
commit59585e22947d4ef7305fceea54e4100a1b805378
tree84a442929c3adf4cabcfb01f0ae0730d1575f316
parentb814434836242c16d67975aabbe3894a0f85f68f
parent4a6d7eb4f3589e4c62a2180196e44c47b8304c8d
fix: dev: Try to skip lock on fully lower names

If the name is fully lowercase, we don't need to access the case bitmap in order to set the case. Therefore, we can check for the FULLYLOWERCASE flag using only atomic operations, and skip a lock in the hot path, provided we clear the FULLYLOWERCASE flag before changing the case bitmap.

Merge branch 'alessio/skip-lock-on-fully-lower-names' into 'main'

See merge request isc-projects/bind9!10497