Re: [PATCH V2 1/2] sched/fair: Rearrange select_task_rq_fair() to optimize it

2018-04-26 Thread Valentin Schneider
Hi, LGTM. Tiny inline comment but TBH might not be worth it. FWIW: Reviewed-by: Valentin Schneider On 26/04/18 11:30, Viresh Kumar wrote: > Rearrange select_task_rq_fair() a bit to avoid executing some > conditional statements in few specific code-paths. That gets rid of the > goto as well. >

[PATCH V2 1/2] sched/fair: Rearrange select_task_rq_fair() to optimize it

2018-04-26 Thread Viresh Kumar
Rearrange select_task_rq_fair() a bit to avoid executing some conditional statements in few specific code-paths. That gets rid of the goto as well. This shouldn't result in any functional changes. Signed-off-by: Viresh Kumar Tested-by: Rohit Jain --- V1->V2: - Optimize a bit more and get rid o