jemalloc/src
Jason Evans e3d13060c8 Purge unused dirty pages in a fragmentation-reducing order.
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.
2012-11-06 00:59:53 -08:00
..
arena.c Purge unused dirty pages in a fragmentation-reducing order. 2012-11-06 00:59:53 -08:00
atomic.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
base.c Add arena-specific and selective dss allocation. 2012-10-12 18:26:16 -07:00
bitmap.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
chunk.c Fix dss/mmap allocation precedence code. 2012-10-16 22:06:56 -07:00
chunk_dss.c Add arena-specific and selective dss allocation. 2012-10-12 18:26:16 -07:00
chunk_mmap.c Fix mlockall()/madvise() interaction. 2012-10-08 18:04:49 -07:00
ckh.c Normalize aligned allocation algorithms. 2012-04-11 18:13:45 -07:00
ctl.c Fix deadlock in the arenas.purge mallctl. 2012-11-03 21:18:28 -07:00
extent.c Reduce cpp conditional logic complexity. 2012-02-10 20:22:09 -08:00
hash.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
huge.c Add arena-specific and selective dss allocation. 2012-10-12 18:26:16 -07:00
jemalloc.c Add arena-specific and selective dss allocation. 2012-10-12 18:26:16 -07:00
mb.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
mutex.c mark _pthread_mutex_init_calloc_cb as public explicitly 2012-10-10 09:10:37 -07:00
prof.c Fix fork(2)-related deadlocks. 2012-10-09 15:21:46 -07:00
quarantine.c Fix quarantine_grow() bugs. 2012-04-23 22:07:30 -07:00
rtree.c Fix fork(2)-related deadlocks. 2012-10-09 15:21:46 -07:00
stats.c Add arena-specific and selective dss allocation. 2012-10-12 18:26:16 -07:00
tcache.c Add arena-specific and selective dss allocation. 2012-10-12 18:26:16 -07:00
tsd.c Optimize malloc() and free() fast paths. 2012-05-02 00:30:36 -07:00
util.c Remove unused variable and branch (reported by clang-analzyer) 2012-10-08 15:45:38 -07:00
zone.c Implement Valgrind support, redzones, and quarantine. 2012-04-11 11:46:18 -07:00