Rework the block allocator
authorSimon Marlow <simonmar@microsoft.com>
Thu, 14 Dec 2006 11:09:01 +0000 (11:09 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 14 Dec 2006 11:09:01 +0000 (11:09 +0000)
commit485b8d1a00a65aa565e3b30ef8f63fa2880d4093
treebbed2b13703b8a9c93c9ab61bc4cba1dcd656680
parentd12cd2f2c930773a34781b942b8248a3818eeae8
Rework the block allocator

The main goal here is to reduce fragmentation, which turns out to be
the case of #743.  While I was here I found some opportunities to
improve performance too.  The code is rather more complex, but it also
contains a long comment describing the strategy, so please take a look
at that for the details.
includes/Block.h
rts/sm/BlockAlloc.c
rts/sm/Storage.c