Re: [PATCH v10 01/12] sched/cputime: Add kcpustat_field_total helper

From: Mete Durlu

Date: Fri Aug 14 2026 - 05:05:33 EST


On 12/08/2026 07:40, Shrikanth Hegde wrote:
Provide a new helper function which sums up a given type of cpustat
over a specified cpumask.

This allows the caller's code to be simpler and avoids duplication.
For example, subsequent patch in the steal governor use this exact
same pattern when calculating steal time.

Suggested-by: Yury Norov <yury.norov@xxxxxxxxx>
Signed-off-by: Shrikanth Hegde <sshegde@xxxxxxxxxxxxx>
---
FWIW, feel free to add my r-b to this patch

Reviewed-by: Mete Durlu <meted@xxxxxxxxxxxxx>