diff options
| author | Jason Evans <jasone@canonware.com> | 2017-02-28 09:08:28 (GMT) |
|---|---|---|
| committer | Jason Evans <jasone@canonware.com> | 2017-02-28 22:25:06 (GMT) |
| commit | d84d2909c3132ee633c92fd0d720ec2aed80ff11 (patch) | |
| tree | fe896405f3210607c9354735cd6d4ec13427c35f /src/jemalloc_cpp.cpp | |
| parent | 766ddcd0f20715799042b7e24ea489f24f7121f0 (diff) | |
| download | jemalloc-d84d2909c3132ee633c92fd0d720ec2aed80ff11.zip jemalloc-d84d2909c3132ee633c92fd0d720ec2aed80ff11.tar.gz jemalloc-d84d2909c3132ee633c92fd0d720ec2aed80ff11.tar.bz2 | |
Fix/enhance THP integration.
Detect whether chunks start off as THP-capable by default (according to
the state of /sys/kernel/mm/transparent_hugepage/enabled), and use this
as the basis for whether to call pages_nohuge() once per chunk during
first purge of any of the chunk's page runs.
Add the --disable-thp configure option, as well as the the opt.thp
mallctl.
This resolves #541.
Diffstat (limited to 'src/jemalloc_cpp.cpp')
0 files changed, 0 insertions, 0 deletions
