aboutsummaryrefslogtreecommitdiff
path: root/dep/jemalloc/src/extent_mmap.c
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2019-10-27 17:42:15 +0100
committerjackpoz <giacomopoz@gmail.com>2019-10-27 18:07:05 +0100
commit89cb584780aa936f9353fc8a2acd009c49461134 (patch)
tree542726038d4669680b9e88c0c44e939571b937f3 /dep/jemalloc/src/extent_mmap.c
parent267bdde3232566e210659df47dc7580e676e9ee5 (diff)
Dep/Jemalloc: Update to Jemalloc 5.2.1
Diffstat (limited to 'dep/jemalloc/src/extent_mmap.c')
-rw-r--r--dep/jemalloc/src/extent_mmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dep/jemalloc/src/extent_mmap.c b/dep/jemalloc/src/extent_mmap.c
index 8d607dc8039..17fd1c8f957 100644
--- a/dep/jemalloc/src/extent_mmap.c
+++ b/dep/jemalloc/src/extent_mmap.c
@@ -21,8 +21,8 @@ bool opt_retain =
void *
extent_alloc_mmap(void *new_addr, size_t size, size_t alignment, bool *zero,
bool *commit) {
- void *ret = pages_map(new_addr, size, ALIGNMENT_CEILING(alignment,
- PAGE), commit);
+ assert(alignment == ALIGNMENT_CEILING(alignment, PAGE));
+ void *ret = pages_map(new_addr, size, alignment, commit);
if (ret == NULL) {
return NULL;
}