logo       
Google Custom Search
    AddThis Social Bookmark Button

cvs commit: fptools/ghc/rts MBlock.c: msg#00290

Subject: cvs commit: fptools/ghc/rts MBlock.c
simonmar    2002/10/25 05:56:35 PDT

  Modified files:
    ghc/rts              MBlock.c 
  Log:
  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
  
  Revision  Changes    Path
  1.33      +2 -3      fptools/ghc/rts/MBlock.c



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>