[GHC] #13296: stat() calls can block Haskell runtime

GHC ghc-devs at haskell.org
Mon Feb 20 08:59:49 UTC 2017


#13296: stat() calls can block Haskell runtime
-------------------------------------+-------------------------------------
        Reporter:  nh2               |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.0.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 The default implementation should be `safe`, and we could provide an
 internal `unsafe` version for people who know what they're doing and want
 that extra 100ns.

 Separately we should work on reducing the overhead of `safe` calls.  I
 have an experimental patch here: https://phabricator.haskell.org/D1466

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


More information about the ghc-tickets mailing list