Re: [PATCH] sched: fix wrong rq's runnable_avg update with rt task

2013-02-18 Thread Steven Rostedt
On Fri, 2013-02-08 at 12:11 +0100, Vincent Guittot wrote: > When a RT task is scheduled on an idle CPU, the update of the rq's load is > not done because CFS's functions are not called. Then, the idle_balance, > which is called just before entering the idle function, updates the > rq's load and mak

Re: [PATCH] sched: fix wrong rq's runnable_avg update with rt task

2013-02-08 Thread Vincent Guittot
On 8 February 2013 15:46, Steven Rostedt wrote: > On Fri, 2013-02-08 at 12:11 +0100, Vincent Guittot wrote: >> When a RT task is scheduled on an idle CPU, the update of the rq's load is >> not done because CFS's functions are not called. Then, the idle_balance, >> which is called just before enter

[PATCH] sched: fix wrong rq's runnable_avg update with rt task

2013-02-08 Thread Vincent Guittot
When a RT task is scheduled on an idle CPU, the update of the rq's load is not done because CFS's functions are not called. Then, the idle_balance, which is called just before entering the idle function, updates the rq's load and makes the assumption that the elapsed time since the last update, was