summaryrefslogtreecommitdiff
path: root/include/jemalloc/internal/base_externs.h
diff options
context:
space:
mode:
authorPark Ju Hyung <qkrwngud825@gmail.com>2019-10-14 06:19:00 +0900
committerJuhyung Park <qkrwngud825@gmail.com>2022-02-18 22:46:19 +0900
commitff690d8809c6d57a566164b13fccfb7d87422b16 (patch)
tree3466f38bde14c29f3d8c080063e881ef8ec06967 /include/jemalloc/internal/base_externs.h
parent9666f7a11b0ba711e6fb1d80bb94de4220c2d944 (diff)
jemalloc: remove THP support
This is not explored on Android properly and no one should use it until proper scientific testing. Moreover, THP is broken with all recent Qualcomm devices due to speculative page faults. Change-Id: I1c1e4f296c7895f5288cdb816f42340ea85826b4 Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
Diffstat (limited to 'include/jemalloc/internal/base_externs.h')
-rw-r--r--include/jemalloc/internal/base_externs.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/jemalloc/internal/base_externs.h b/include/jemalloc/internal/base_externs.h
index 7b705c9b..a4fd5ac7 100644
--- a/include/jemalloc/internal/base_externs.h
+++ b/include/jemalloc/internal/base_externs.h
@@ -1,9 +1,6 @@
#ifndef JEMALLOC_INTERNAL_BASE_EXTERNS_H
#define JEMALLOC_INTERNAL_BASE_EXTERNS_H
-extern metadata_thp_mode_t opt_metadata_thp;
-extern const char *metadata_thp_mode_names[];
-
base_t *b0get(void);
base_t *base_new(tsdn_t *tsdn, unsigned ind, extent_hooks_t *extent_hooks);
void base_delete(tsdn_t *tsdn, base_t *base);
@@ -13,7 +10,7 @@ extent_hooks_t *base_extent_hooks_set(base_t *base,
void *base_alloc(tsdn_t *tsdn, base_t *base, size_t size, size_t alignment);
extent_t *base_alloc_extent(tsdn_t *tsdn, base_t *base);
void base_stats_get(tsdn_t *tsdn, base_t *base, size_t *allocated,
- size_t *resident, size_t *mapped, size_t *n_thp);
+ size_t *resident, size_t *mapped);
void base_prefork(tsdn_t *tsdn, base_t *base);
void base_postfork_parent(tsdn_t *tsdn, base_t *base);
void base_postfork_child(tsdn_t *tsdn, base_t *base);