On 1/27/12 1:38 PM, Eric Wong wrote:
> Eric Wong <normalperson / yhbt.net> wrote:
>> A larger (16KB) _size_ I can easily understand to be more efficient.
>> I just don't see a reason for _alignment_ to be 16KB, too.  Larger
>> alignment increases the chance of fragmentation.
> 
> Btw, I took at Bug #5901 and now realize why this GC requires
> alignment to match size.  It makes mapping a VALUE back to its Ruby
> heap much easier (compared to the REE GC, which needed to scan heaps).
> 
All the more reason to use mmap() instead of malloc_aligned().
-- KAS