Messages in this thread Patch in this message | | | Date | Tue, 10 Mar 1998 00:18:17 +0100 (MET) | From | Rik van Riel <> | Subject | [uPATCH] sched.c change; snappy_response++ |
| |
Hi there,
I've made a (very small) change to goodness() in linux/kernel/sched.c to make the current scheduler more resemblent of the QNX scheduler, but without the problem of deadlocks.
I've done some testing, and it seems to make Linux's interactive response just a little bit snappier.
But it might have some side-effects in other (exotic?) situations, so I'd like to see it tested before sending it to Linus.
Rik. +-----------------------------+------------------------------+ | For Linux mm-patches, go to | "I'm busy managing memory.." | | my homepage (via LinuxHQ). | H.H.vanRiel@fys.ruu.nl | | ...submissions welcome... | http://www.fys.ruu.nl/~riel/ | +-----------------------------+------------------------------+
--- linux/kernel/sched.c.orig Mon Mar 9 20:58:54 1998 +++ linux/kernel/sched.c Mon Mar 9 20:59:22 1998 @@ -231,6 +231,7 @@ /* .. and a slight advantage to the current process */ if (p == prev) weight += 1; + weight += p->priority; } return weight; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |