RE: Question about sched_yield()

From: mgix@mgix.com
Date: Tue Jun 18 2002 - 13:05:36 EST


> Your assumptions are just plain wrong. The yielder is being nice, so it
> should get preferential treatment, not worse treatment. All threads are
> ready-to-run all the time. Yielding is not the same as blocking or lowering
> your priority.

In other words, the more you yield, the nicer you
are and the more CPU you get, and those nasty processes
that are trying to actually use the CPU to do something
with it and wear it down should get it as little as possible.
I get it.

        - Mgix

-
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/



This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:16 EST