Re: [PATCH v10 01/12] sched/cputime: Add kcpustat_field_total helper
Mete Durlu <[email protected]>
| Newsgroups | dev.linux.lists.virtualization,org.kernel.vger.linux-doc,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]>