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

Mete Durlu <[email protected]>
Newsgroups org.kernel.vger.linux-doc,dev.linux.lists.virtualization,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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 <[email protected]>
> Signed-off-by: Shrikanth Hegde <[email protected]>
> ---
FWIW, feel free to add my r-b to this patch

Reviewed-by: Mete Durlu <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.