diff options
author | Jason Evans <je@fb.com> | 2012-04-17 00:52:27 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2012-04-17 01:08:58 (GMT) |
commit | 59ae2766af88bad07ac721c4ee427b171e897bcb (patch) | |
tree | 91d978a22d04bf1bdab84139e46e094ed35d88a9 /src | |
parent | a398a6b46e53035a4ef660b4c7a1c406f3abe645 (diff) | |
download | jemalloc-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |