aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorAndrey Ryabinin <[email protected]>2021-11-15 16:46:04 +0000
committerPeter Zijlstra <[email protected]>2021-11-23 08:55:22 +0000
commit9731698ecb9c851f353ce2496292ff9fcea39dff (patch)
tree31a8b27285592b93012f7f955312ebe8c69d5640 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentpsi: Fix PSI_MEM_FULL state when tasks are in memstall and doing reclaim (diff)
downloadkernel-9731698ecb9c851f353ce2496292ff9fcea39dff.tar.gz
kernel-9731698ecb9c851f353ce2496292ff9fcea39dff.zip
cputime, cpuacct: Include guest time in user time in cpuacct.stat
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/<pid>/stat. This also affects cgroup2's cpu.stat in the same way. Make account_guest_time() to add user time to cgroup's cpustat to fix this. Fixes: ef12fefabf94 ("cpuacct: add per-cgroup utime/stime statistics") Signed-off-by: Andrey Ryabinin <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Daniel Jordan <[email protected]> Acked-by: Tejun Heo <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions