Re: [Linux-ia64] Re: web page on O(1) scheduler
Alan Cox (alan@lxorguk.ukuu.org.uk)
21 May 2003 23:59:43 +0100
On Mer, 2003-05-21 at 20:18, Duraid Madina wrote:
> "A process can relinquish the processor voluntarily without blocking by
> calling sched_yield. The process will then be moved to the end of the
> queue for its static priority and a new process gets to run."
>
> How you get from there to "I'm the least important thing in the system"
> is, once again, beyond me. And even if that were a reasonable
Assuming nobody is niced the two say the same thing. Note "for its
_static_ priority" not for its dynamic priority. So sched_yield puts you
at the back of a pile of cpu hogs cos thats what the spec says it does
-
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/