Re: sched_yield() call on Linux Kernel 2.6.39 is not behaving correct
From: Yogesh Ahire
Date: Fri Jan 09 2015 - 14:24:16 EST
Thank you Mike. I didn't get what you mean by saying "its gona try to
yield for one hell of a long time before it succeeds".
On Thu, Jan 8, 2015 at 7:14 PM, Mike Galbraith <umgwanakikbuti@xxxxxxxxx> wrote:
> On Thu, 2015-01-08 at 10:00 -0500, Yogesh Ahire wrote:
>> Thank you Mike. But I can see there are tasks with same priority and
>> are runnable waiting for CPU, following is the output of
>> /proc/sched_debug where you can see that the task "symphonyapp"
>> continuously calls sched_yield() but there are other tasks which are
>> ready to run are not getting CPU and are queued back.
>
> Something terminally bad happened. With that tasks vruntime (tree-key),
> it's gonna try to yield for one hell of a long time before it succeeds.
>
> -Mike
>
--
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/