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
eae269036c9f702d9fa9be497a1a2aa1be13a29e (Add alignment support to
chunk_alloc()).
2012-04-11 18:13:45 -07:00
..
2012-03-13 16:31:41 -07:00
2012-03-02 15:59:45 -08:00
2012-03-07 16:19:19 -08:00
2012-03-07 16:19:19 -08:00
2012-03-13 16:31:41 -07:00
2012-02-28 16:50:47 -08:00
2012-03-02 15:59:45 -08:00
2011-11-01 20:48:31 -07:00
2012-04-03 13:20:21 -07:00
2012-03-07 16:19:19 -08:00
2012-04-03 22:30:05 -07:00