Re: [PATCH v2 1/5] sched/fair: Move select_task_rq_fair slow-path into its own function

2017-08-25 Thread Vincent Guittot
On 25 August 2017 at 12:16, Brendan Jackman wrote: > In preparation for changes that would otherwise require adding a new > level of indentation to the while(sd) loop, create a new function > find_idlest_cpu which contains this loop, and rename the existing > find_idlest_cpu to find_idlest_group_c

Re: [PATCH v2 1/5] sched/fair: Move select_task_rq_fair slow-path into its own function

2017-08-25 Thread Josef Bacik
On Fri, Aug 25, 2017 at 11:16:28AM +0100, Brendan Jackman wrote: > In preparation for changes that would otherwise require adding a new > level of indentation to the while(sd) loop, create a new function > find_idlest_cpu which contains this loop, and rename the existing > find_idlest_cpu to find_i

[PATCH v2 1/5] sched/fair: Move select_task_rq_fair slow-path into its own function

2017-08-25 Thread Brendan Jackman
In preparation for changes that would otherwise require adding a new level of indentation to the while(sd) loop, create a new function find_idlest_cpu which contains this loop, and rename the existing find_idlest_cpu to find_idlest_group_cpu. Code inside the while(sd) loop is unchanged. @new_cpu i