Add config option to use dlmalloc instead of mheap

Configure w/ --enable-dlmalloc, see .../build-data/platforms/vpp.mk

src/vppinfra/dlmalloc.[ch] are slightly modified versions of the
well-known Doug Lea malloc. Main advantage: dlmalloc mspaces have no
inherent size limit.

Change-Id: I19b3f43f3c65bcfb82c1a265a97922d01912446e
Signed-off-by: Dave Barach <dave@barachs.net>
This commit is contained in:
Dave Barach
2018-07-04 10:56:23 -04:00
committed by Damjan Marion
parent 2a3fb1a28b
commit 6a5adc3695
47 changed files with 7454 additions and 106 deletions

View File

@@ -37,7 +37,9 @@ vpp_root_packages = vpp vom
# vpp_dpdk_shared_lib = yes
# Use '--without-libnuma' for non-numa aware architecture
vpp_configure_args_vpp =
# Use '--enable-dlmalloc' to use dlmalloc instead of mheap
vpp_configure_args_vpp = --enable-dlmalloc
sample-plugin_configure_args_vpp = --enable-dlmalloc
# load balancer plugin is not portable on 32 bit platform
ifeq ($(MACHINE),i686)