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

GHC ghc-devs at haskell.org
Fri Jul 6 15:56:17 UTC 2018


#15348: Enable two-step allocator on FreeBSD
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  FreeBSD           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4939
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by vdukhovni):

 From `kern_mmap()` in `/usr/src/sys/vm/vm_mmap.c`:
 {{{
         if ((flags & MAP_GUARD) != 0 && (prot != PROT_NONE || fd != -1 ||
             pos != 0 || (flags & (MAP_SHARED | MAP_PRIVATE | MAP_PREFAULT
 |
             MAP_PREFAULT_READ | MAP_ANON | MAP_STACK)) != 0))
                 return (EINVAL);
 }}}

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


More information about the ghc-tickets mailing list