[commit: ghc] ghc-lwc2: RTS Scheduler minor fix: Upcall thread has more priority than other threads on RTS runqueue. (ed49cf3)
Sivaramakrishnan Krishnamoorthy Chandrasekaran
t-sichan at microsoft.com
Mon May 13 23:09:53 CEST 2013
Repository : http://darcs.haskell.org/ghc.git/
On branch : ghc-lwc2
https://github.com/ghc/ghc/commit/ed49cf3703f186516cd264953a633f7537f2ebd0
>---------------------------------------------------------------
commit ed49cf3703f186516cd264953a633f7537f2ebd0
Author: KC Sivaramakrishnan <chandras at cs.purdue.edu>
Date: Mon May 13 17:09:40 2013 -0400
RTS Scheduler minor fix: Upcall thread has more priority than other threads on RTS runqueue.
>---------------------------------------------------------------
rts/Schedule.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/rts/Schedule.c b/rts/Schedule.c
index 8bb1c7f..eb57408 100644
--- a/rts/Schedule.c
+++ b/rts/Schedule.c
@@ -339,12 +339,6 @@ more_upcalls:
*/
if (!emptyUpcallQueue(cap)) {
t = prepareUpcallThread (cap, t);
- //If there are other runnable threads, append the upcall thread to
- //the scheduler.
- if (!emptyRunQueue (cap)) {
- appendToRunQueue (cap, t);
- continue;
- }
}
else {
t = restoreCurrentThreadIfNecessary (cap, t);
More information about the ghc-commits
mailing list