]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: dev: Reduce the false sharing the dns_qpcache and dns_qpzone
authorOndřej Surý <ondrej@isc.org>
Tue, 4 Feb 2025 22:24:20 +0000 (22:24 +0000)
committerOndřej Surý <ondrej@isc.org>
Tue, 4 Feb 2025 22:24:20 +0000 (22:24 +0000)
commitd4a7bff0b626cffac18a476eae4546e2d009e20f
treeaeaf8018de1b665ea09e2c2dae971d87492a31e0
parenta1ca49683aa59eec3d0e7129d712e95645e60cf9
parent732fc338a94d58f78a15e17225a94e1a5f868d6a
fix: dev: Reduce the false sharing the dns_qpcache and dns_qpzone

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.

Merge branch 'ondrej/prevent-nodelock-false-sharing' into 'main'

See merge request isc-projects/bind9!10072