diff options
author | Park Ju Hyung <qkrwngud825@gmail.com> | 2019-10-14 06:19:00 +0900 |
---|---|---|
committer | Juhyung Park <qkrwngud825@gmail.com> | 2022-02-18 22:46:19 +0900 |
commit | ff690d8809c6d57a566164b13fccfb7d87422b16 (patch) | |
tree | 3466f38bde14c29f3d8c080063e881ef8ec06967 /include/jemalloc/internal/base_structs.h | |
parent | 9666f7a11b0ba711e6fb1d80bb94de4220c2d944 (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_structs.h')
-rw-r--r-- | include/jemalloc/internal/base_structs.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/jemalloc/internal/base_structs.h b/include/jemalloc/internal/base_structs.h index 07f214eb..0d729546 100644 --- a/include/jemalloc/internal/base_structs.h +++ b/include/jemalloc/internal/base_structs.h @@ -30,8 +30,6 @@ struct base_s { /* Protects base_alloc() and base_stats_get() operations. */ malloc_mutex_t mtx; - /* Using THP when true (metadata_thp auto mode). */ - bool auto_thp_switched; /* * Most recent size class in the series of increasingly large base * extents. Logarithmic spacing between subsequent allocations ensures @@ -52,8 +50,6 @@ struct base_s { size_t allocated; size_t resident; size_t mapped; - /* Number of THP regions touched. */ - size_t n_thp; }; #endif /* JEMALLOC_INTERNAL_BASE_STRUCTS_H */ |