aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Goldblatt <davidgoldblatt@fb.com>2017-09-18 15:03:52 -0700
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2017-10-16 15:35:49 -0700
commitccd09050aa53d083fe0b45d4704b1fe95fb00c92 (patch)
treed1a330d939972fba5f45c0a7fac82d5baa133afa /include
parent211b1f3c7de23b1915f1ce8f9277e6c1ff60cfde (diff)
downloadplatform_external_jemalloc_new-ccd09050aa53d083fe0b45d4704b1fe95fb00c92.tar.gz
platform_external_jemalloc_new-ccd09050aa53d083fe0b45d4704b1fe95fb00c92.tar.bz2
platform_external_jemalloc_new-ccd09050aa53d083fe0b45d4704b1fe95fb00c92.zip
Add configure-time detection for madvise(..., MADV_DO[NT]DUMP)
Diffstat (limited to 'include')
-rw-r--r--include/jemalloc/internal/jemalloc_internal_defs.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/jemalloc/internal/jemalloc_internal_defs.h.in b/include/jemalloc/internal/jemalloc_internal_defs.h.in
index b56f21f8..aadfbed4 100644
--- a/include/jemalloc/internal/jemalloc_internal_defs.h.in
+++ b/include/jemalloc/internal/jemalloc_internal_defs.h.in
@@ -289,6 +289,11 @@
#undef JEMALLOC_DEFINE_MADVISE_FREE
/*
+ * Defined if MADV_DO[NT]DUMP is supported as an argument to madvise.
+ */
+#undef JEMALLOC_MADVISE_DONTDUMP
+
+/*
* Defined if transparent huge pages (THPs) are supported via the
* MADV_[NO]HUGEPAGE arguments to madvise(2), and THP support is enabled.
*/