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

Ben Gamari gitlab at gitlab.haskell.org
Fri Oct 30 18:03:02 UTC 2020



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


Commits:
105d43db by Ben Gamari at 2020-10-30T14:02:19-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`).

- - - - -
f7b45cde by Ben Gamari at 2020-10-30T14:02:19-04:00
rts: Use relaxed ordering on spinlock counters

- - - - -
4c162e67 by Ben Gamari at 2020-10-30T14:02:50-04:00
Merge branches 'wip/tsan/sched', 'wip/tsan/ci', 'wip/tsan/storage', 'wip/tsan/wsdeque', 'wip/tsan/misc', 'wip/tsan/stm', 'wip/tsan/event-mgr', 'wip/tsan/timer' and 'wip/tsan/stats' into wip/tsan/all

- - - - -
b8be6fde by Ben Gamari at 2020-10-30T14:02:56-04:00
testing

- - - - -


30 changed files:

- .gitlab-ci.yml
- hadrian/src/Flavour.hs
- includes/rts/SpinLock.h
- includes/rts/TSANUtils.h
- includes/rts/storage/Closures.h
- includes/stg/SMP.h
- libraries/base/GHC/Event/Control.hs
- rts/.tsan-suppressions
- rts/Capability.c
- rts/Capability.h
- rts/Messages.c
- rts/Proftimer.c
- rts/RaiseAsync.c
- rts/RtsStartup.c
- rts/SMPClosureOps.h
- rts/STM.c
- rts/Schedule.c
- rts/Schedule.h
- rts/Sparks.c
- + rts/SpinLock.c
- rts/Stats.c
- rts/Stats.h
- rts/Task.c
- rts/ThreadPaused.c
- rts/Threads.c
- rts/Timer.c
- rts/WSDeque.c
- rts/WSDeque.h
- rts/posix/GetTime.c
- rts/posix/Signals.c


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/cb2671825a324f9fabededd9d3c3ca3963951d95...b8be6fdee5377d4fcd7eacd935b2644461c6e2bb

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/cb2671825a324f9fabededd9d3c3ca3963951d95...b8be6fdee5377d4fcd7eacd935b2644461c6e2bb
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/de0138eb/attachment.html>


More information about the ghc-commits mailing list