summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/jemalloc-5.3.0/src/exp_grow.c
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/lib/jemalloc-5.3.0/src/exp_grow.c')
-rw-r--r--fluent-bit/lib/jemalloc-5.3.0/src/exp_grow.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/fluent-bit/lib/jemalloc-5.3.0/src/exp_grow.c b/fluent-bit/lib/jemalloc-5.3.0/src/exp_grow.c
new file mode 100644
index 000000000..386471f49
--- /dev/null
+++ b/fluent-bit/lib/jemalloc-5.3.0/src/exp_grow.c
@@ -0,0 +1,8 @@
+#include "jemalloc/internal/jemalloc_preamble.h"
+#include "jemalloc/internal/jemalloc_internal_includes.h"
+
+void
+exp_grow_init(exp_grow_t *exp_grow) {
+ exp_grow->next = sz_psz2ind(HUGEPAGE);
+ exp_grow->limit = sz_psz2ind(SC_LARGE_MAXCLASS);
+}