[GHC] #14193: Add RTS flag to disable 1TB address space allocaiton

GHC ghc-devs at haskell.org
Fri Sep 8 06:49:21 UTC 2017


#14193: Add RTS flag to disable 1TB address space allocaiton
-------------------------------------+-------------------------------------
        Reporter:  nh2               |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #9706, #14192     |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 Patch to solve the same problem in webkit, here it looks like using
 PROT_NONE to reserve and mprotect() to commit works around the overcommit
 issue: http://trac.webkit.org/changeset/137994/webkit

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14193#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list