Re: Kaffeine problem with CFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Ingo Molnar <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux