]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: dev: Prevent false sharing for the .inuse member of isc_mem_t
authorOndřej Surý <ondrej@isc.org>
Mon, 30 Jun 2025 11:23:38 +0000 (13:23 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 30 Jun 2025 11:23:38 +0000 (13:23 +0200)
Change the .inuse member of memory context to have a loop-local
variable, so there's no contention even when the same memory
context is shared among multiple threads.

Closes #5354

Merge branch '5354-prevent-false-sharing-in-isc_mem' into 'main'

See merge request isc-projects/bind9!10555


Trivial merge