Re: [RFC PATCH v2 5/6] sched/fair: Select an energy-efficient CPU on task wake-up
From: Quentin Perret
Date: Mon Apr 09 2018 - 12:43:20 EST
On Monday 09 Apr 2018 at 18:30:29 (+0200), Peter Zijlstra wrote:
> On Fri, Apr 06, 2018 at 04:36:06PM +0100, Dietmar Eggemann wrote:
> > if (sd_flag & SD_BALANCE_WAKE) {
> > record_wakee(p);
> > + want_energy = wake_energy(p, prev_cpu);
> > want_affine = !wake_wide(p) && !wake_cap(p, cpu, prev_cpu)
> > - && cpumask_test_cpu(cpu, &p->cpus_allowed);
> > + && cpumask_test_cpu(cpu, &p->cpus_allowed)
> > + && !want_energy;
>
> Could you please fix that and put the operators at the end of the
> previous line?
Will do.