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

2013-02-13 Thread Vincent Guittot
On 13 February 2013 16:28, Paul Turner wrote: > On Wed, Feb 13, 2013 at 12:54 AM, 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

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

2013-02-13 Thread Paul Turner
On Wed, Feb 13, 2013 at 12:54 AM, 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

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

2013-02-13 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,

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

2013-02-13 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,

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

2013-02-13 Thread Paul Turner
On Wed, Feb 13, 2013 at 12:54 AM, Vincent Guittot vincent.guit...@linaro.org 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

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

2013-02-13 Thread Vincent Guittot
On 13 February 2013 16:28, Paul Turner p...@google.com wrote: On Wed, Feb 13, 2013 at 12:54 AM, Vincent Guittot vincent.guit...@linaro.org 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,