]> git.ipfire.org Git - thirdparty/bind9.git/commit
Reduce false sharing in dns_qpzone
authorOndřej Surý <ondrej@isc.org>
Tue, 4 Feb 2025 15:50:27 +0000 (16:50 +0100)
committerOndřej Surý <ondrej@isc.org>
Tue, 4 Feb 2025 20:37:46 +0000 (21:37 +0100)
commit6dcc39872698a44d2d9f5919ff3c41f2affcf71c
treed698a791599df8c427bd86a69908ab2b5e6bde77
parentc602d76c1fb6cfe54da9094ae1d12912d852d359
Reduce false sharing in dns_qpzone

Instead of having many node_lock_count * sizeof(<member>) arrays, pack
all the members into a qpzone_bucket_t that is cacheline aligned and have
a single array of those.
lib/dns/qpzone.c
tests/dns/qpzone_test.c