Re: [RESEND PATCH V3] PM / EM: Micro optimization in em_cpu_energy

2020-12-08 Thread Rafael J. Wysocki
On Sat, Nov 28, 2020 at 3:21 AM Pavankumar Kondeti wrote: > > When the sum of the utilization of CPUs in a power domain is zero, > return the energy as 0 without doing any computations. > > Acked-by: Quentin Perret > Reviewed-by: Dietmar Eggemann > Signed-off-by: Pavankumar Kondeti > --- > inc

[RESEND PATCH V3] PM / EM: Micro optimization in em_cpu_energy

2020-11-27 Thread Pavankumar Kondeti
When the sum of the utilization of CPUs in a power domain is zero, return the energy as 0 without doing any computations. Acked-by: Quentin Perret Reviewed-by: Dietmar Eggemann Signed-off-by: Pavankumar Kondeti --- include/linux/energy_model.h | 3 +++ 1 file changed, 3 insertions(+) diff --g