Re: Kaffeine problem with CFS

From: Ingo Molnar
Date: Wed Apr 18 2007 - 06:53:33 EST



* Ingo Molnar <mingo@xxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/