summaryrefslogtreecommitdiffstats
path: root/src/jemalloc_cpp.cpp
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2017-02-28 09:08:28 (GMT)
committerJason Evans <jasone@canonware.com>2017-02-28 22:25:06 (GMT)
commitd84d2909c3132ee633c92fd0d720ec2aed80ff11 (patch)
treefe896405f3210607c9354735cd6d4ec13427c35f /src/jemalloc_cpp.cpp
parent766ddcd0f20715799042b7e24ea489f24f7121f0 (diff)
downloadjemalloc-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