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

From
Mete Durlu <meted@linux.ibm.com>
Date
2026-08-14 09:05:23
Also in
linux-doc, lkml
Reply to
Shrikanth Hegde, 2026-08-12
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@gmail.com>
Signed-off-by: Shrikanth Hegde <sshegde@linux.ibm.com>
---
FWIW, feel free to add my r-b to this patch

Reviewed-by: Mete Durlu <meted@linux.ibm.com>
Thread (27 messages) 27 messages, 6 authors, last reply 2026-08-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help