Re: Scheduler Cleanup

Ingo Molnar (mingo@elte.hu)
Thu, 6 Dec 2001 23:03:20 +0100 (CET)


On Thu, 6 Dec 2001, Davide Libenzi wrote:

> What about decreasing counter by 1 for each sched_yield() call ?

we did that in earlier kernels - it's not really the right thing to do, as
calling yield() does not mean we are willing to give up a *timeslice*. It
only means that right now we are not able to proceed.

Ingo

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