summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/internal/base_externs.h
Commit message (Collapse)AuthorAgeFilesLines
* Add stats for metadata_thp.Qi Wang2017-08-301-1/+1
| | | | Report number of THPs used in arena and aggregated stats.
* Change opt.metadata_thp to [disabled,auto,always].Qi Wang2017-08-301-1/+2
| | | | | | | | To avoid the high RSS caused by THP + low usage arena (i.e. THP becomes a significant percentage), added a new "auto" option which will only start using THP after a base allocator used up the first THP region. Starting from the second hugepage (in a single arena), "auto" behaves the same as "always", i.e. madvise hugepage right away.
* Implement opt.metadata_thpQi Wang2017-08-111-0/+2
| | | | | This option enables transparent huge page for base allocators (require MADV_HUGEPAGE support).
* Set reentrancy when invoking customized extent hooks.Qi Wang2017-06-231-1/+1
| | | | | Customized extent hooks may malloc / free thus trigger reentry. Support this behavior by adding reentrancy on hook functions.
* Track extent structure serial number (esn) in extent_t.Jason Evans2017-04-171-11/+12
| | | | This enables stable sorting of extent_t structures.
* Break up headers into constituent partsDavid Goldblatt2017-01-121-0/+18
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.