Commit 99354bc5 authored by Muhammad Adeel's avatar Muhammad Adeel Committed by Greg Kroah-Hartman
Browse files

cgroup: Remove steal time from usage_usec



[ Upstream commit db5fd3cf ]

The CPU usage time is the time when user, system or both are using the CPU.
Steal time is the time when CPU is waiting to be run by the Hypervisor. It
should not be added to the CPU usage time, hence removing it from the
usage_usec entry.

Fixes: 936f2a70 ("cgroup: add cpu.stat file to root cgroup")
Acked-by: default avatarAxel Busch <axel.busch@ibm.com>
Acked-by: default avatarMichal Koutný <mkoutny@suse.com>
Signed-off-by: default avatarMuhammad Adeel <muhammad.adeel@ibm.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4ff25f0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment