Re: Kaffeine problem with CFS

Ingo Molnar
2007-04-18T10:53:18Z

* Ingo Molnar <mingo@elte.hu> wrote:

> hm. I've reviewed all uses of demux_lock. ./src/xine-engine/demux.c
> does this:
>
> pthread_mutex_unlock( &stream->demux_lock );
>
> lprintf ("sched_yield\n");
>
> sched_yield();
> pthread_mutex_lock( &stream->demux_lock );
>
> why is this done? CFS has definitely changed the yield implementation
> so there could be some connection.
>
> OTOH, in the 'hung' state none of the straces suggests any yield()
> call.

yeah, there's no yield() call in any of the straces so i'd exclude this
as a possibility .

Ingo