[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1420875475.5283.135.camel@marge.simpson.net>
Date: Sat, 10 Jan 2015 08:37:55 +0100
From: Mike Galbraith <umgwanakikbuti@...il.com>
To: Yogesh Ahire <yogesh02061983@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: sched_yield() call on Linux Kernel 2.6.39 is not behaving
correct
On Fri, 2015-01-09 at 11:24 -0800, Yogesh Ahire wrote:
> 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".
Look at vruntimes. Equalizing same is what the scheduler does for a
living, it does so by giving the CPU to the runnable task with the
lowest vruntime. Exec time is scaled by load to become vruntime, but
this vruntime delta is so large you may as well just call it infinity.
-Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists