summaryrefslogtreecommitdiffstats
path: root/src/jemalloc.c
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-08-10 20:14:26 (GMT)
committerQi Wang <interwq@gmail.com>2017-08-11 21:51:20 (GMT)
commit8fdd9a579779b84d6af27f94c295f82a4df8e5be (patch)
tree69816fe49c5e134f176020f05390df0cb82afccc /src/jemalloc.c
parentd157864027562dc17475edfd1bc6dce559b7ac4b (diff)
downloadjemalloc-8fdd9a579779b84d6af27f94c295f82a4df8e5be.zip
jemalloc-8fdd9a579779b84d6af27f94c295f82a4df8e5be.tar.gz
jemalloc-8fdd9a579779b84d6af27f94c295f82a4df8e5be.tar.bz2
Implement opt.metadata_thp
This option enables transparent huge page for base allocators (require MADV_HUGEPAGE support).
Diffstat (limited to 'src/jemalloc.c')
-rw-r--r--src/jemalloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jemalloc.c b/src/jemalloc.c
index 4c73ba4..cbae259 100644
--- a/src/jemalloc.c
+++ b/src/jemalloc.c
@@ -1055,6 +1055,7 @@ malloc_conf_init(void) {
if (opt_abort_conf && had_conf_error) {
malloc_abort_invalid_conf();
}
+ CONF_HANDLE_BOOL(opt_metadata_thp, "metadata_thp")
CONF_HANDLE_BOOL(opt_retain, "retain")
if (strncmp("dss", k, klen) == 0) {
int i;