]> git.ipfire.org Git - thirdparty/bind9.git/commit
Disable the internal memory allocator by default
authorOndřej Surý <ondrej@sury.org>
Tue, 14 Dec 2021 09:44:04 +0000 (10:44 +0100)
committerOndřej Surý <ondrej@sury.org>
Wed, 15 Dec 2021 12:29:19 +0000 (13:29 +0100)
commit1f7d2d53f0e5b86e22e1dd116868bb69eeacb1a0
treece52886d34e4a2b0eda15406b13f066126586461
parentc96b6eb5ece1d44fdfbce45da2364e3764956822
Disable the internal memory allocator by default

For small sized allocations, the internal allocator gets the memory in
bigger blobs that gets splits into right-sized chunks.  This increases
speed of small allocations and reduced the fragmentation, but such
memory is never released back to the operating system.

Disable the internal allocator by default, and add new `-M internal`
command line option to `named`.
bin/named/main.c
lib/isc/include/isc/mem.h