summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2015-07-17 23:38:25 (GMT)
committerJason Evans <jasone@canonware.com>2015-07-17 23:38:25 (GMT)
commitf2bc85298c1cd6f4e95fbbeeb7ccc32ff52a1d8f (patch)
treebddad6b2ae834d0f659d25ad779b49a777f5689c /src
parent37fd1115c38accc319a82f17c0e9262091844cac (diff)
downloadjemalloc-f2bc85298c1cd6f4e95fbbeeb7ccc32ff52a1d8f.zip
jemalloc-f2bc85298c1cd6f4e95fbbeeb7ccc32ff52a1d8f.tar.gz
jemalloc-f2bc85298c1cd6f4e95fbbeeb7ccc32ff52a1d8f.tar.bz2
Add the config.cache_oblivious mallctl.
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 d215b19..1988aee 100644
--- a/src/ctl.c
+++ b/src/ctl.c
@@ -73,6 +73,7 @@ CTL_PROTO(thread_allocated)
CTL_PROTO(thread_allocatedp)
CTL_PROTO(thread_deallocated)
CTL_PROTO(thread_deallocatedp)
+CTL_PROTO(config_cache_oblivious)
CTL_PROTO(config_debug)
CTL_PROTO(config_fill)
CTL_PROTO(config_lazy_lock)
@@ -238,6 +239,7 @@ static const ctl_named_node_t thread_node[] = {
};
static const ctl_named_node_t config_node[] = {
+ {NAME("cache_oblivious"), CTL(config_cache_oblivious)},
{NAME("debug"), CTL(config_debug)},
{NAME("fill"), CTL(config_fill)},
{NAME("lazy_lock"), CTL(config_lazy_lock)},
@@ -1247,6 +1249,7 @@ label_return:
/******************************************************************************/
+CTL_RO_BOOL_CONFIG_GEN(config_cache_oblivious)
CTL_RO_BOOL_CONFIG_GEN(config_debug)
CTL_RO_BOOL_CONFIG_GEN(config_fill)
CTL_RO_BOOL_CONFIG_GEN(config_lazy_lock)