]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
chg: dev: Use malloc_usable_size()/malloc_size() for memory accounting
authorOndřej Surý <ondrej@isc.org>
Thu, 27 Nov 2025 11:42:09 +0000 (12:42 +0100)
committerOndřej Surý <ondrej@isc.org>
Thu, 27 Nov 2025 11:42:09 +0000 (12:42 +0100)
Restore usage of malloc_usable_size()/malloc_size(), but this time only
for memory accounting and statistics purposes.  This should reduce the
memory footprint in case of compilation without jemalloc as we don't
have to keep track of the allocated memory size ourselves.

Merge branch 'ondrej/use-malloc_usable_size-when-available' into 'main'

See merge request isc-projects/bind9!11271


Trivial merge