Reduce the thread switching cost.

Maybe it was actually too high.  Some tests fail with it that high.
This commit is contained in:
Unknown W. Brackets committed 2014-06-27 01:00:11 -07:00
1 parent 4471b968e8
commit 5ab3750186
1 file changed
+2 -2
+2 -2
View File
@@ -3241,9 +3241,9 @@ void __KernelSwitchContext(Thread *target, const char *reason)
if (fromIdle && toIdle) {
// Don't eat any cycles going between idle.
} else if (fromIdle || toIdle) {
currentMIPS->downcount -= 1500;
currentMIPS->downcount -= 1200;
} else {
currentMIPS->downcount -= 3000;
currentMIPS->downcount -= 2700;
}
if (target)