Re: Kaffeine problem with CFS

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



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.

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/