[project @ 2002-10-25 12:56:34 by simonmar]
authorsimonmar <unknown>
Fri, 25 Oct 2002 12:56:34 +0000 (12:56 +0000)
committersimonmar <unknown>
Fri, 25 Oct 2002 12:56:34 +0000 (12:56 +0000)
commit24889e6abe3ef8a84809fc55ad494933df767d3d
treee1a6512552278c1015eb5a4b4462e144b77a9766
parent1029a5b1d688041fef55116c4798d97770302507
[project @ 2002-10-25 12:56:34 by simonmar]
We shouldn't be using MAP_FIXED on solaris (fixes last night's crash).

Unfortunately on Solaris the heuristics don't work too well.  Solaris
seems to ignore the addr argument to mmap when MAP_FIXED is not
specified, and starts handing out memory from the top of the address
space.  So we allocate 2M each time and munmap() ends to leave an
aligned 1M chunk.  This will eventually leave the address space
completely full of 1M holes.  I don't have a good solution to this at
the moment.

MERGE TO STABLE
ghc/rts/MBlock.c