server-skynet-source-3rd-je.../test/unit
Jason Evans e98a620c59 Mark partially purged arena chunks as non-hugepage.
Add the pages_[no]huge() functions, which toggle huge page state via
madvise(..., MADV_[NO]HUGEPAGE) calls.

The first time a page run is purged from within an arena chunk, call
pages_nohuge() to tell the kernel to make no further attempts to back
the chunk with huge pages.  Upon arena chunk deletion, restore the
associated virtual memory to its original state via pages_huge().

This resolves #243.
2016-11-24 00:15:55 -08:00
..
a0.c Fix tsd bootstrapping for a0malloc(). 2016-05-07 16:55:36 -07:00
arena_reset.c Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *). 2016-11-15 15:00:28 -08:00
atomic.c Fix MinGW-related portability issues. 2015-07-23 13:56:25 -07:00
bitmap.c Refactor out signed/unsigned comparisons. 2016-03-15 09:40:02 -07:00
ckh.c Do not (recursively) allocate within tsd_fetch(). 2016-10-21 00:27:37 -07:00
decay.c Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *). 2016-11-15 15:00:28 -08:00
fork.c Call _exit(2) rather than exit(3) in forked child. 2016-11-02 19:24:49 -07:00
hash.c Fix stack corruption and uninitialized var warning 2016-02-29 15:22:53 -08:00
junk_alloc.c Fix style nits. 2016-04-17 13:44:59 -07:00
junk_free.c Fix style nits. 2016-04-17 13:44:59 -07:00
junk.c Make dss operations lockless. 2016-10-13 15:33:56 -07:00
lg_chunk.c Fix indentation. 2015-07-09 16:32:49 -07:00
mallctl.c Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *). 2016-11-15 15:00:28 -08:00
math.c Work around a weird pgi bug in test/unit/math.c 2016-09-26 11:08:45 -07:00
mq.c Don't fetch tsd in a0{d,}alloc(). 2014-10-10 18:19:20 -07:00
mtx.c Add mq (message queue) to test infrastructure. 2013-12-12 14:41:02 -08:00
nstime.c Do not advance decay epoch when time goes backwards. 2016-10-10 22:31:37 -07:00
pack.c Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *). 2016-11-15 15:00:28 -08:00
pages.c Mark partially purged arena chunks as non-hugepage. 2016-11-24 00:15:55 -08:00
ph.c Refactor/fix ph. 2016-04-11 02:15:42 -07:00
prng.c Refactor prng to not use 64-bit atomics on 32-bit platforms. 2016-11-07 11:50:59 -08:00
prof_accum.c Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *). 2016-11-15 15:00:28 -08:00
prof_active.c Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *). 2016-11-15 15:00:28 -08:00
prof_gdump.c Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *). 2016-11-15 15:00:28 -08:00
prof_idump.c Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *). 2016-11-15 15:00:28 -08:00
prof_reset.c Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *). 2016-11-15 15:00:28 -08:00
prof_thread_name.c Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *). 2016-11-15 15:00:28 -08:00
ql.c Add unit tests for qr, ql, and rb. 2014-01-03 16:35:03 -08:00
qr.c Add unit tests for qr, ql, and rb. 2014-01-03 16:35:03 -08:00
quarantine.c Fix message formatting errors uncovered by p_test_fail() refactoring. 2014-03-30 11:21:09 -07:00
rb.c Remove rbt_nil 2016-02-23 18:09:25 -08:00
rtree.c Add no-OOM assertions to test. 2015-08-07 00:51:11 -07:00
run_quantize.c Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *). 2016-11-15 15:00:28 -08:00
SFMT.c Fix MinGW-related portability issues. 2015-07-23 13:56:25 -07:00
size_classes.c Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *). 2016-11-15 15:00:28 -08:00
smoothstep.c Implement smoothstep table generation. 2016-02-19 20:56:15 -08:00
stats.c Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *). 2016-11-15 15:00:28 -08:00
ticker.c Implement ticker. 2016-02-19 20:29:06 -08:00
tsd.c Add cast to silence (harmless) conversion warning. 2016-11-15 14:05:00 -08:00
util.c Explicitly cast negative constants meant for use as unsigned. 2016-11-15 14:05:16 -08:00
witness.c Resolve bootstrapping issues when embedded in FreeBSD libc. 2016-05-10 22:51:33 -07:00
zero.c Clean up char vs. uint8_t in junk filling code. 2016-04-11 02:26:35 -07:00