summaryrefslogtreecommitdiff
path: root/include/jemalloc/internal/base_structs.h
AgeCommit message (Collapse)Author
2022-02-18jemalloc: remove THP supportPark Ju Hyung
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>
2018-07-12Hide size class computation behind a layer of indirection.David Goldblatt
This class removes almost all the dependencies on size_classes.h, accessing the data there only via the new module sc.h, which does not depend on any configuration options. In a subsequent commit, we'll remove the configure-time size class computations, doing them at boot time, instead.
2017-11-09Fix base allocator THP auto mode locking and stats.Qi Wang
Added proper synchronization for switching to using THP in auto mode. Also fixed stats for number of THPs used.
2017-08-30Add stats for metadata_thp.Qi Wang
Report number of THPs used in arena and aggregated stats.
2017-05-24Header refactoring: unify and de-catchall mutex moduleDavid Goldblatt
2017-04-24Header refactoring: size_classes module - remove from the catchallDavid Goldblatt
2017-04-17Allocate increasingly large base blocks.Jason Evans
Limit the total number of base block by leveraging the exponential size class sequence, similarly to extent_grow_retained().
2017-04-05Make base_t's extent_hooks field C11-atomicDavid Goldblatt
2017-01-12Break up headers into constituent partsDavid Goldblatt
This is part of a broader change to make header files better represent the dependencies between one another (see https://github.com/jemalloc/jemalloc/issues/533). It breaks up component headers into smaller parts that can be made to have a simpler dependency graph. For the autogenerated headers (smoothstep.h and size_classes.h), no splitting was necessary, so I didn't add support to emit multiple headers.