summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2012-04-17 00:52:27 (GMT)
committerJason Evans <je@fb.com>2012-04-17 01:08:58 (GMT)
commit59ae2766af88bad07ac721c4ee427b171e897bcb (patch)
tree91d978a22d04bf1bdab84139e46e094ed35d88a9 /src
parenta398a6b46e53035a4ef660b4c7a1c406f3abe645 (diff)
downloadjemalloc-59ae2766af88bad07ac721c4ee427b171e897bcb.zip
jemalloc-59ae2766af88bad07ac721c4ee427b171e897bcb.tar.gz
jemalloc-59ae2766af88bad07ac721c4ee427b171e897bcb.tar.bz2
Add the --disable-munmap option.
Add the --disable-munmap option, remove the configure test that attempted to detect the VM allocation quirk known to exist on Linux x86[_64], and make --disable-munmap implicit on Linux.
Diffstat (limited to 'src')
-rw-r--r--src/ctl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ctl.c b/src/ctl.c
index 6be4056..a6a02cc 100644
--- a/src/ctl.c
+++ b/src/ctl.c
@@ -50,6 +50,7 @@ CTL_PROTO(config_debug)
CTL_PROTO(config_dss)
CTL_PROTO(config_fill)
CTL_PROTO(config_lazy_lock)
+CTL_PROTO(config_munmap)
CTL_PROTO(config_prof)
CTL_PROTO(config_prof_libgcc)
CTL_PROTO(config_prof_libunwind)
@@ -176,6 +177,7 @@ static const ctl_node_t config_node[] = {
{NAME("dss"), CTL(config_dss)},
{NAME("fill"), CTL(config_fill)},
{NAME("lazy_lock"), CTL(config_lazy_lock)},
+ {NAME("munmap"), CTL(config_munmap)},
{NAME("prof"), CTL(config_prof)},
{NAME("prof_libgcc"), CTL(config_prof_libgcc)},
{NAME("prof_libunwind"), CTL(config_prof_libunwind)},
@@ -1087,6 +1089,7 @@ CTL_RO_BOOL_CONFIG_GEN(config_debug)
CTL_RO_BOOL_CONFIG_GEN(config_dss)
CTL_RO_BOOL_CONFIG_GEN(config_fill)
CTL_RO_BOOL_CONFIG_GEN(config_lazy_lock)
+CTL_RO_BOOL_CONFIG_GEN(config_munmap)
CTL_RO_BOOL_CONFIG_GEN(config_prof)
CTL_RO_BOOL_CONFIG_GEN(config_prof_libgcc)
CTL_RO_BOOL_CONFIG_GEN(config_prof_libunwind)