RE: [PATCH] Minor scheduler fix to get rid of skipping in xmms

From: John Yau
Date: Sat Sep 06 2003 - 13:21:16 EST


Scratch that, I just found Ingo's patch. My patch does essentially the same
thing except it only allows the current active process to be preempted if it
got demoted in priority during the effective priority recalculation. This
IMHO is better because it doesn't do unnecessary context switches. If the
process were truly a CPU hog relative other processes on the run queue, then
it'd get preempted eventually when it gets demoted rather than always every
25 ms. How come Ingo's granular timeslice patch didn't get put into
2.6.0-test4?


John Yau

-----Original Message-----
From: Robert Love [mailto:rml@xxxxxxxxx]
Sent: Saturday, September 06, 2003 1:01 PM
To: John Yau
Cc: linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: [PATCH] Minor scheduler fix to get rid of skipping in xmms


On Sat, 2003-09-06 at 05:46, John Yau wrote:

> I'm new to patch submission process, so bear with me. This little
> patch I
> wrote seems to get rid of the annoying skipping in xmms except in the most

> extreme cases. See comments inlined in code for details of the fix.

This looks exactly like the granular timeslice patch Ingo did?

Robert Love


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/