Re: [PATCH 1/4] cputime,cpuacct: Include guest time in user time in cpuacct.stat

2021-03-17 Thread Daniel Jordan
Andrey Ryabinin writes: > cpuacct.stat in no-root cgroups shows user time without guest time > included int it. This doesn't match with user time shown in root > cpuacct.stat and /proc//stat. Yeah, that's inconsistent. > Make account_guest_time() to add user time to cgroup's cpustat to > fix

[PATCH 1/4] cputime,cpuacct: Include guest time in user time in cpuacct.stat

2021-02-17 Thread Andrey Ryabinin
cpuacct.stat in no-root cgroups shows user time without guest time included int it. This doesn't match with user time shown in root cpuacct.stat and /proc//stat. Make account_guest_time() to add user time to cgroup's cpustat to fix this. Fixes: ef12fefabf94 ("cpuacct: add per-cgroup utime/stime