[commit: ghc] master: Allow the number of capabilities to be increased at runtime (#3729) (92e7d6c)
Simon Marlow
marlowsd at gmail.com
Tue Dec 6 17:11:17 CET 2011
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/92e7d6c92fdd14de424524564376d3522f2a40cc
>---------------------------------------------------------------
commit 92e7d6c92fdd14de424524564376d3522f2a40cc
Author: Simon Marlow <marlowsd at gmail.com>
Date: Tue Dec 6 15:12:07 2011 +0000
Allow the number of capabilities to be increased at runtime (#3729)
At present the number of capabilities can only be *increased*, not
decreased. The latter presents a few more challenges!
docs/users_guide/using.xml | 14 +++-
includes/rts/Threads.h | 10 +++
rts/Capability.c | 66 ++++++++++++-----
rts/Capability.h | 6 ++-
rts/Linker.c | 1 +
rts/Schedule.c | 172 ++++++++++++++++++++++++++++++++++++--------
rts/Stats.c | 2 +-
rts/Task.c | 28 +++++++
rts/Task.h | 5 ++
rts/Trace.c | 7 ++
rts/Trace.h | 1 +
rts/eventlog/EventLog.c | 25 +++++--
rts/eventlog/EventLog.h | 1 +
rts/sm/GC.c | 50 ++++++++-----
rts/sm/GC.h | 2 +-
rts/sm/Storage.c | 70 +++++++++++--------
rts/sm/Storage.h | 4 +
17 files changed, 357 insertions(+), 107 deletions(-)
Diff suppressed because of size. To see it, use:
git show 92e7d6c92fdd14de424524564376d3522f2a40cc
More information about the Cvs-ghc
mailing list