Re: [PATCH v2 5/8] sched/fair: use rq->nr_running when balancing load

2019-09-02 Thread Vincent Guittot
Hi Hillf, Sorry for the late reply. I have noticed that i didn't answer your question while preparing v3 On Fri, 9 Aug 2019 at 07:21, Hillf Danton wrote: > > > On Thu, 1 Aug 2019 16:40:21 +0200 Vincent Guittot wrote: > > > > cfs load_balance only takes care of CFS tasks whereas CPUs can be

[PATCH v2 5/8] sched/fair: use rq->nr_running when balancing load

2019-08-01 Thread Vincent Guittot
cfs load_balance only takes care of CFS tasks whereas CPUs can be used by other scheduling class. Typically, a CFS task preempted by a RT or deadline task will not get a chance to be pulled on another CPU because the load_balance doesn't take into account tasks from classes. Add sum of nr_running