[commit: ghc] ghc-lwc2: Scheduler: scheduleThreadOnFreeCap updated such it only checks whether the capability hasn't already been picked up by another user-level scheduler. In particular, we no longer consider run queue being non-empty, a blocked foreign call on this capability or outstanding messages to be the reasons for not picking up a capability. (6f07516)

Sivaramakrishnan Krishnamoorthy Chandrasekaran t-sichan at microsoft.com
Sat Apr 27 04:22:55 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : ghc-lwc2

https://github.com/ghc/ghc/commit/6f07516e3e9a16325ddf0c5bb584f873af72eef6

>---------------------------------------------------------------

commit 6f07516e3e9a16325ddf0c5bb584f873af72eef6
Author: KC Sivaramakrishnan <chandras at cs.purdue.edu>
Date:   Fri Apr 26 12:18:48 2013 -0400

    Scheduler: scheduleThreadOnFreeCap updated such it only checks whether
    the capability hasn't already been picked up by another user-level
    scheduler. In particular, we no longer consider run queue being
    non-empty, a blocked foreign call on this capability or outstanding
    messages to be the reasons for not picking up a capability.
    
    Benchmarks: Added TMVar implementations. Weeding through IOManager
    bugs.

 rts/Schedule.c                                     |  13 +--
 tests/Benchmarks/ChameneosRedux/Makefile           |   2 +-
 tests/Benchmarks/ChameneosRedux/TMVar.hs           | 126 +++++++++++++++++++++
 ...eneos-redux-lwc.hs => chameneos-redux-TMVar.hs} |  34 +++---
 tests/Benchmarks/Sieve/Makefile                    |   4 +-
 tests/Benchmarks/Sieve/TMVar.hs                    | 126 +++++++++++++++++++++
 .../Sieve/{sieve-lwc.hs => sieve-TMVar.hs}         |  27 ++---
 7 files changed, 289 insertions(+), 43 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 6f07516e3e9a16325ddf0c5bb584f873af72eef6



More information about the ghc-commits mailing list