Messages in this thread | | | Date | Wed, 25 Apr 2018 09:13:35 +0100 | From | Quentin Perret <> | Subject | Re: [PATCH] sched/fair: Rearrange select_task_rq_fair() to optimize it |
| |
On Wednesday 25 Apr 2018 at 10:45:09 (+0530), Viresh Kumar wrote: > On 24-04-18, 14:35, Peter Zijlstra wrote: > > In any case, if there not going to be conflicts here, this all looks > > good. > > Thanks Peter. > > I also had another patch and wasn't sure if that would be the right > thing to do. The main purpose of this is to avoid calling > sync_entity_load_avg() unnecessarily.
While you're at it, you could probably remove the one in wake_cap() ? I think having just one in select_task_rq_fair() should be enough.
Thanks, Quentin
| |