[Git][ghc/ghc][wip/tsan/all] 3 commits: rts/SpinLock: Separate out slow path

Ben Gamari gitlab at gitlab.haskell.org
Fri Oct 30 04:20:18 UTC 2020



Ben Gamari pushed to branch wip/tsan/all at Glasgow Haskell Compiler / GHC


Commits:
5cbad1f1 by Ben Gamari at 2020-10-30T00:19:50-04:00
rts/SpinLock: Separate out slow path

Not only is this in general a good idea, but it turns out that GCC
unrolls the retry loop, resulting is massive code bloat in critical
parts of the RTS (e.g. `evacuate`).

- - - - -
eaa95417 by Ben Gamari at 2020-10-30T00:19:50-04:00
rts: Use relaxed ordering on spinlock counters

- - - - -
3e12241c by Ben Gamari at 2020-10-30T00:20:09-04:00
Merge branch 'wip/tsan/storage' into wip/tsan/all

- - - - -


1 changed file:

- rts/rts.cabal.in


Changes:

=====================================
rts/rts.cabal.in
=====================================
@@ -462,6 +462,7 @@ library
                STM.c
                Schedule.c
                Sparks.c
+               SpinLock.c
                StableName.c
                StablePtr.c
                StaticPtrTable.c



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/81b148752f79523d25a94f1dae860d9476a608b5...3e12241cf5bdf1824fb4d84d3cb66d56518f2e71

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/81b148752f79523d25a94f1dae860d9476a608b5...3e12241cf5bdf1824fb4d84d3cb66d56518f2e71
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201030/fdaf6f20/attachment.html>


More information about the ghc-commits mailing list