Thread (17 messages) 17 messages, 3 authors, 2021-09-10

Re: [PATCH 2/4] cgroup: Fix 'usage_usec' time in root's cpu.stat

From: Daniel Jordan <hidden>
Date: 2021-03-17 22:14:56
Also in: lkml, stable

Andrey Ryabinin [off-list ref] writes:
Global CPUTIME_USER counter already includes CPUTIME_GUEST
Also CPUTIME_NICE already includes CPUTIME_GUEST_NICE.

Remove additions of CPUTIME_GUEST[_NICE] to total ->sum_exec_runtime
to not account them twice.
Yes, that's just wrong.  usage_usec looks ok now.

Reviewed-by: Daniel Jordan <redacted>
Tested-by: Daniel Jordan <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help