summaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2015-03-19 01:55:33 (GMT)
committerJason Evans <je@fb.com>2015-03-19 01:55:33 (GMT)
commit8d6a3e8321a7767cb2ca0930b85d5d488a8cc659 (patch)
tree7b7f9628079ffcf68d1d3cea4c797ad394d40339 /src/util.c
parentc9db461ffb608ad32aed0e34663ae58a992e1003 (diff)
downloadjemalloc-8d6a3e8321a7767cb2ca0930b85d5d488a8cc659.zip
jemalloc-8d6a3e8321a7767cb2ca0930b85d5d488a8cc659.tar.gz
jemalloc-8d6a3e8321a7767cb2ca0930b85d5d488a8cc659.tar.bz2
Implement dynamic per arena control over dirty page purging.
Add mallctls: - arenas.lg_dirty_mult is initialized via opt.lg_dirty_mult, and can be modified to change the initial lg_dirty_mult setting for newly created arenas. - arena.<i>.lg_dirty_mult controls an individual arena's dirty page purging threshold, and synchronously triggers any purging that may be necessary to maintain the constraint. - arena.<i>.chunk.purge allows the per arena dirty page purging function to be replaced. This resolves #93.
Diffstat (limited to 'src/util.c')
0 files changed, 0 insertions, 0 deletions