Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.43-00

Ingo Molnar
2005-04-04T20:12:05Z

* Steven Rostedt <rostedt@goodmis.org> wrote:

> So it is probably stuck in some spinning "yield" loop, which was the
> reason I was writing this test to begin with! It's most likely also
> waiting for kjournald to do some work, and is starving it in a
> schedule or yield loop never actually going to sleep letting kjournald
> do the real work.

actually, what priorities do the yielding tasks have? sched_yield() does
not guarantee that the CPU will be given up, of if a highest-prio
SCHED_FIFO task is in a yield() loop it will livelock the system.

Ingo