Re: [RFC PATCH v2 5/6] sched/fair: Select an energy-efficient CPU on task wake-up

From: Peter Zijlstra
Date: Mon Apr 09 2018 - 12:30:45 EST


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?