aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-08-10 13:14:26 -0700
committerQi Wang <interwq@gmail.com>2017-08-11 14:51:20 -0700
commit8fdd9a579779b84d6af27f94c295f82a4df8e5be (patch)
tree69816fe49c5e134f176020f05390df0cb82afccc /test
parentd157864027562dc17475edfd1bc6dce559b7ac4b (diff)
downloadjemalloc_new-8fdd9a579779b84d6af27f94c295f82a4df8e5be.tar.gz
Implement opt.metadata_thp
This option enables transparent huge page for base allocators (require MADV_HUGEPAGE support).
Diffstat (limited to 'test')
-rw-r--r--test/unit/mallctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/mallctl.c b/test/unit/mallctl.c
index f6116549..d9fdd058 100644
--- a/test/unit/mallctl.c
+++ b/test/unit/mallctl.c
@@ -157,6 +157,7 @@ TEST_BEGIN(test_mallctl_opt) {
} while (0)
TEST_MALLCTL_OPT(bool, abort, always);
+ TEST_MALLCTL_OPT(bool, metadata_thp, always);
TEST_MALLCTL_OPT(bool, retain, always);
TEST_MALLCTL_OPT(const char *, dss, always);
TEST_MALLCTL_OPT(unsigned, narenas, always);