server-skynet-source-3rd-je.../include/jemalloc
Jason Evans 5ff709c264 Normalize aligned allocation algorithms.
Normalize arena_palloc(), chunk_alloc_mmap_slow(), and
chunk_recycle_dss() to use the same algorithm for trimming
over-allocation.

Add the ALIGNMENT_ADDR2BASE(), ALIGNMENT_ADDR2OFFSET(), and
ALIGNMENT_CEILING() macros, and use them where appropriate.

Remove the run_size_p parameter from sa2u().

Fix a potential deadlock in chunk_recycle_dss() that was introduced by
eae269036c (Add alignment support to
chunk_alloc()).
2012-04-11 18:13:45 -07:00
..
internal Normalize aligned allocation algorithms. 2012-04-11 18:13:45 -07:00
jemalloc_defs.h.in Implement Valgrind support, redzones, and quarantine. 2012-04-11 11:46:18 -07:00
jemalloc.h.in Revert "Use ffsl() in ALLOCM_ALIGN()." 2012-04-04 15:24:01 -07:00