From: Ondřej Surý Date: Wed, 4 Jun 2025 10:48:18 +0000 (+0000) Subject: fix: dev: Try to skip lock on fully lower names X-Git-Tag: v9.21.9~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59585e22947d4ef7305fceea54e4100a1b805378;p=thirdparty%2Fbind9.git 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 --- 59585e22947d4ef7305fceea54e4100a1b805378