server-skynet-source-3rd-je.../test/unit
Jason Evans 64e458f5cd Implement two-phase decay-based purging.
Split decay-based purging into two phases, the first of which uses lazy
purging to convert dirty pages to "muzzy", and the second of which uses
forced purging, decommit, or unmapping to convert pages to clean or
destroy them altogether.  Not all operating systems support lazy
purging, yet the application may provide extent hooks that implement
lazy purging, so care must be taken to dynamically omit the first phase
when necessary.

The mallctl interfaces change as follows:
- opt.decay_time --> opt.{dirty,muzzy}_decay_time
- arena.<i>.decay_time --> arena.<i>.{dirty,muzzy}_decay_time
- arenas.decay_time --> arenas.{dirty,muzzy}_decay_time
- stats.arenas.<i>.pdirty --> stats.arenas.<i>.p{dirty,muzzy}
- stats.arenas.<i>.{npurge,nmadvise,purged} -->
  stats.arenas.<i>.{dirty,muzzy}_{npurge,nmadvise,purged}

This resolves #521.
2017-03-15 13:13:47 -07:00
..
a0.c Remove extraneous parens around return arguments. 2017-01-20 21:43:07 -08:00
arena_reset_prof.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
arena_reset_prof.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
arena_reset.c Disentangle arena and extent locking. 2017-02-01 16:43:46 -08:00
atomic.c Add atomic types for ssize_t 2017-03-06 18:49:19 -08:00
base.c Remove extraneous parens around return arguments. 2017-01-20 21:43:07 -08:00
bit_util.c Disentangle assert and util 2017-03-06 15:08:43 -08:00
bitmap.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
ckh.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
decay.c Implement two-phase decay-based purging. 2017-03-15 13:13:47 -07:00
decay.sh Implement two-phase decay-based purging. 2017-03-15 13:13:47 -07:00
extent_quantize.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
fork.c Fix arena_prefork lock rank order for witness. 2017-03-08 23:07:27 -08:00
hash.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
junk_alloc.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
junk_alloc.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
junk_free.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
junk_free.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
junk.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
junk.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
mallctl.c Implement two-phase decay-based purging. 2017-03-15 13:13:47 -07:00
malloc_io.c Disentangle assert and util 2017-03-06 15:08:43 -08:00
math.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
mq.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
mtx.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
nstime.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
pack.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
pack.sh Implement two-phase decay-based purging. 2017-03-15 13:13:47 -07:00
pages.c Remove extraneous parens around return arguments. 2017-01-20 21:43:07 -08:00
ph.c Add any() and remove_any() to ph. 2017-03-07 10:25:33 -08:00
prng.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
prof_accum.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_accum.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_active.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_active.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_gdump.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_gdump.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_idump.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_idump.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_reset.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_reset.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_tctx.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_tctx.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_thread_name.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_thread_name.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
ql.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
qr.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
rb.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
rtree.c Remove rtree support for 0 (NULL) keys. 2017-02-08 18:50:03 -08:00
SFMT.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
size_classes.c Remove extraneous parens around return arguments. 2017-01-20 21:43:07 -08:00
slab.c Disentangle arena and extent locking. 2017-02-01 16:43:46 -08:00
smoothstep.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
spin.c Enhance spin_adaptive() to yield after several iterations. 2017-02-08 18:50:03 -08:00
stats_print.c Silence harmless warnings discovered via run_tests.sh. 2017-02-01 11:29:12 -08:00
stats.c Implement two-phase decay-based purging. 2017-03-15 13:13:47 -07:00
ticker.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
tsd.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
witness.c Add witness_assert_depth[_to_rank](). 2017-02-01 16:43:46 -08:00
zero.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
zero.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00