diff options
author | Qi Wang <interwq@gwu.edu> | 2017-08-10 20:14:26 (GMT) |
---|---|---|
committer | Qi Wang <interwq@gmail.com> | 2017-08-11 21:51:20 (GMT) |
commit | 8fdd9a579779b84d6af27f94c295f82a4df8e5be (patch) | |
tree | 69816fe49c5e134f176020f05390df0cb82afccc /src/jemalloc.c | |
parent | d157864027562dc17475edfd1bc6dce559b7ac4b (diff) | |
download | jemalloc-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.c | 1 |
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; |