On Tue, Jun 16, 2020 at 02:31:15PM +0200, Vincent Guittot wrote: > On Tue, 16 Jun 2020 at 08:05, Peng Wang <[email protected]> wrote: > > > > While looking at enqueue_task_fair and dequeue_task_fair, it occurred > > to me that dequeue_task_fair can also be optimized as Vincent described > > in commit 7d148be69e3a ("sched/fair: Optimize enqueue_task_fair()"). > > > > When encountering throttled cfs_rq, dequeue_throttle label can ensure > > se not to be NULL, and rq->nr_running remains unchanged, so we can also > > skip the early balance check. > > > > Signed-off-by: Peng Wang <[email protected]> > > Reviewed-by: Vincent Guittot <[email protected]>
Thanks!

