]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[9.20] fix: dev: Reduce the false sharing the dns_qpcache and dns_qpzone
authorOndřej Surý <ondrej@isc.org>
Tue, 4 Feb 2025 23:17:37 +0000 (23:17 +0000)
committerOndřej Surý <ondrej@isc.org>
Tue, 4 Feb 2025 23:17:37 +0000 (23:17 +0000)
Instead of having many node_lock_count * sizeof(<member>) arrays, pack all
the members into a qpcache_bucket_t that is cacheline aligned to prevent
false sharing between RWLocks.

Backport of MR !10072

Merge branch 'backport-ondrej/prevent-nodelock-false-sharing-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10074


Trivial merge