e3d13060c8
Purge unused dirty pages in an order that first performs clean/dirty run defragmentation, in order to mitigate available run fragmentation. Remove the limitation that prevented purging unless at least one chunk worth of dirty pages had accumulated in an arena. This limitation was intended to avoid excessive purging for small applications, but the threshold was arbitrary, and the effect of questionable utility. Relax opt_lg_dirty_mult from 5 to 3. This compensates for increased likelihood of allocating clean runs, given the same ratio of clean:dirty runs, and reduces the potential for repeated purging in pathological large malloc/free loops that push the active:dirty page ratio just over the purge threshold. |
||
---|---|---|
.. | ||
arena.h | ||
atomic.h | ||
base.h | ||
bitmap.h | ||
chunk_dss.h | ||
chunk_mmap.h | ||
chunk.h | ||
ckh.h | ||
ctl.h | ||
extent.h | ||
hash.h | ||
huge.h | ||
jemalloc_internal.h.in | ||
mb.h | ||
mutex.h | ||
private_namespace.h | ||
prng.h | ||
prof.h | ||
ql.h | ||
qr.h | ||
quarantine.h | ||
rb.h | ||
rtree.h | ||
size_classes.sh | ||
stats.h | ||
tcache.h | ||
tsd.h | ||
util.h |