]> git.ipfire.org Git - thirdparty/bind9.git/commit
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)
commitd8410f93d28e2ce2dd90f1df13f5b0ff8b7e1205
treecea3002cb6e1e5d24b0e1c2e0e34dfe0a13453e3
parentdef4be7cb66e2ca3e9b512b3ea788da72a1e0889
parentd6e2bf2b3d233da537c9516b5062bd983e26f319
chg: dev: Use malloc_usable_size()/malloc_size() for memory accounting

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