[project @ 2002-10-25 12:56:34 by simonmar] We shouldn't be using MAP_FIXED on solaris (fixes last night's crash).
[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

siddhanathan/ghc,sgillespie/ghc,christiaanb/ghc,snoyberg/ghc,wxwxwwxxx/ghc,forked-upstream-packages-for-ghcjs/ghc,shlevy/ghc,spacekitteh/smcghc,mettekou/ghc,hferreiro/replay,vikraman/ghc,mfine/ghc,mcmaniac/ghc,tibbe/ghc,lukexi/ghc,da-x/ghc,TomMD/ghc,shlevy/ghc,mettekou/ghc,gcampax/ghc,mfine/ghc,TomMD/ghc,holzensp/ghc,ghc-android/ghc,ilyasergey/GHC-XAppFix,ezyang/ghc,GaloisInc/halvm-ghc,jstolarek/ghc,elieux/ghc,nathyong/microghc-ghc,da-x/ghc,hferreiro/replay,lukexi/ghc-7.8-arm64,ezyang/ghc,christiaanb/ghc,oldmanmike/ghc,lukexi/ghc,sgillespie/ghc,mcmaniac/ghc,da-x/ghc,frantisekfarka/ghc-dsi,siddhanathan/ghc,elieux/ghc,mfine/ghc,jstolarek/ghc,mettekou/ghc,mcmaniac/ghc,green-haskell/ghc,nathyong/microghc-ghc,TomMD/ghc,acowley/ghc,anton-dessiatov/ghc,urbanslug/ghc,snoyberg/ghc,mcschroeder/ghc,wxwxwwxxx/ghc,lukexi/ghc,fmthoma/ghc,lukexi/ghc-7.8-arm64,vTurbine/ghc,lukexi/ghc-7.8-arm64,green-haskell/ghc,siddhanathan/ghc,hferreiro/replay,holzensp/ghc,da-x/ghc,gridaphobe/ghc,elieux/ghc,nkaretnikov/ghc,sdiehl/ghc,siddhanathan/ghc,fmthoma/ghc,jstolarek/ghc,ghc-android/ghc,ml9951/ghc,da-x/ghc,snoyberg/ghc,ghc-android/ghc,vikraman/ghc,olsner/ghc,olsner/ghc,elieux/ghc,ezyang/ghc,urbanslug/ghc,urbanslug/ghc,mettekou/ghc,vTurbine/ghc,shlevy/ghc,da-x/ghc,snoyberg/ghc,acowley/ghc,snoyberg/ghc,gcampax/ghc,tibbe/ghc,oldmanmike/ghc,nomeata/ghc,AlexanderPankiv/ghc,AlexanderPankiv/ghc,sgillespie/ghc,wxwxwwxxx/ghc,ezyang/ghc,snoyberg/ghc,ryantm/ghc,nkaretnikov/ghc,wxwxwwxxx/ghc,nomeata/ghc,christiaanb/ghc,gcampax/ghc,lukexi/ghc,nomeata/ghc,anton-dessiatov/ghc,acowley/ghc,nkaretnikov/ghc,holzensp/ghc,mettekou/ghc,vikraman/ghc,forked-upstream-packages-for-ghcjs/ghc,mcschroeder/ghc,ml9951/ghc,nushio3/ghc,olsner/ghc,vTurbine/ghc,urbanslug/ghc,nkaretnikov/ghc,ryantm/ghc,ilyasergey/GHC-XAppFix,nkaretnikov/ghc,siddhanathan/ghc,gcampax/ghc,AlexanderPankiv/ghc,TomMD/ghc,wxwxwwxxx/ghc,elieux/ghc,AlexanderPankiv/ghc,acowley/ghc,fmthoma/ghc,gridaphobe/ghc,sdiehl/ghc,mcschroeder/ghc,nathyong/microghc-ghc,tibbe/ghc,christiaanb/ghc,ilyasergey/GHC-XAppFix,urbanslug/ghc,elieux/ghc,siddhanathan/ghc,oldmanmike/ghc,nushio3/ghc,wxwxwwxxx/ghc,vTurbine/ghc,AlexanderPankiv/ghc,GaloisInc/halvm-ghc,fmthoma/ghc,tjakway/ghcjvm,ml9951/ghc,ilyasergey/GHC-XAppFix,sdiehl/ghc,urbanslug/ghc,spacekitteh/smcghc,nushio3/ghc,vikraman/ghc,snoyberg/ghc,gridaphobe/ghc,lukexi/ghc-7.8-arm64,nushio3/ghc,ekmett/ghc,spacekitteh/smcghc,shlevy/ghc,acowley/ghc,holzensp/ghc,ml9951/ghc,jstolarek/ghc,ekmett/ghc,hferreiro/replay,vTurbine/ghc,christiaanb/ghc,oldmanmike/ghc,green-haskell/ghc,olsner/ghc,mettekou/ghc,wxwxwwxxx/ghc,ghc-android/ghc,ml9951/ghc,christiaanb/ghc,urbanslug/ghc,christiaanb/ghc,nathyong/microghc-ghc,mettekou/ghc,bitemyapp/ghc,vTurbine/ghc,nathyong/microghc-ghc,TomMD/ghc,sdiehl/ghc,green-haskell/ghc,GaloisInc/halvm-ghc,gridaphobe/ghc,da-x/ghc,anton-dessiatov/ghc,oldmanmike/ghc,nathyong/microghc-ghc,anton-dessiatov/ghc,ekmett/ghc,lukexi/ghc-7.8-arm64,ghc-android/ghc,oldmanmike/ghc,tjakway/ghcjvm,shlevy/ghc,sgillespie/ghc,shlevy/ghc,sdiehl/ghc,lukexi/ghc,ghc-android/ghc,mfine/ghc,AlexanderPankiv/ghc,sdiehl/ghc,TomMD/ghc,frantisekfarka/ghc-dsi,acowley/ghc,holzensp/ghc,spacekitteh/smcghc,mfine/ghc,mcschroeder/ghc,gridaphobe/ghc,nushio3/ghc,frantisekfarka/ghc-dsi,vikraman/ghc,siddhanathan/ghc,bitemyapp/ghc,ml9951/ghc,forked-upstream-packages-for-ghcjs/ghc,frantisekfarka/ghc-dsi,forked-upstream-packages-for-ghcjs/ghc,ekmett/ghc,mcmaniac/ghc,tjakway/ghcjvm,ml9951/ghc,tibbe/ghc,bitemyapp/ghc,tibbe/ghc,hferreiro/replay,jstolarek/ghc,mcschroeder/ghc,ryantm/ghc,gcampax/ghc,green-haskell/ghc,sgillespie/ghc,TomMD/ghc,tjakway/ghcjvm,forked-upstream-packages-for-ghcjs/ghc,bitemyapp/ghc,tjakway/ghcjvm,hferreiro/replay,GaloisInc/halvm-ghc,gcampax/ghc,bitemyapp/ghc,olsner/ghc,nushio3/ghc,oldmanmike/ghc,vikraman/ghc,fmthoma/ghc,GaloisInc/halvm-ghc,mfine/ghc,mcschroeder/ghc,gridaphobe/ghc,gcampax/ghc,anton-dessiatov/ghc,fmthoma/ghc,nkaretnikov/ghc,olsner/ghc,gridaphobe/ghc,frantisekfarka/ghc-dsi,nushio3/ghc,nomeata/ghc,nathyong/microghc-ghc,sgillespie/ghc,mfine/ghc,ghc-android/ghc,nomeata/ghc,vTurbine/ghc,ezyang/ghc,GaloisInc/halvm-ghc,olsner/ghc,nkaretnikov/ghc,anton-dessiatov/ghc,tjakway/ghcjvm,ryantm/ghc,sgillespie/ghc,anton-dessiatov/ghc,mcmaniac/ghc,forked-upstream-packages-for-ghcjs/ghc,elieux/ghc,acowley/ghc,ml9951/ghc,fmthoma/ghc,mcschroeder/ghc,shlevy/ghc,AlexanderPankiv/ghc,vikraman/ghc,forked-upstream-packages-for-ghcjs/ghc,hferreiro/replay,spacekitteh/smcghc,GaloisInc/halvm-ghc,sdiehl/ghc,ryantm/ghc,ekmett/ghc,tjakway/ghcjvm,ezyang/ghc,ezyang/ghc