[GHC] #15348: Enable two-step allocator on FreeBSD

GHC ghc-devs at haskell.org
Fri Jul 6 02:30:36 UTC 2018


#15348: Enable two-step allocator on FreeBSD
----------------------------------------+---------------------------------
           Reporter:  bgamari           |             Owner:  (none)
               Type:  feature request   |            Status:  new
           Priority:  normal            |         Milestone:  8.6.1
          Component:  Compiler          |           Version:  8.4.3
           Keywords:                    |  Operating System:  FreeBSD
       Architecture:  Unknown/Multiple  |   Type of failure:  None/Unknown
          Test Case:                    |        Blocked By:
           Blocking:                    |   Related Tickets:
Differential Rev(s):                    |         Wiki Page:
----------------------------------------+---------------------------------
 Currently the two-step allocator is disabled on FreeBSD as the
 `MEM_NORESERVE` macro is undefined. It seems that FreeBSD provided this
 macro until 2014, when it was [[https://reviews.freebsd.org/D848|removed]]
 as it wasn't implemented in the kernel. Regardless, Viktor Dukhovni
 reports empirical evidence on `ghc-devs` that just plain `mmap` does what
 we want.

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


More information about the ghc-tickets mailing list