Re: [PATCH v1 8/9] cpuidle: teo: Simplify handling of total events count

From: Christian Loehle
Date: Mon Jan 20 2025 - 07:10:49 EST


On 1/13/25 18:50, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> Instead of computing the total events count from scratch every time,
> decay it and add a PULSE value to it in teo_update().
>
> No intentional functional impact.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
Reviewed-by: Christian Loehle <christian.loehle@xxxxxxx>