Patch 1: fixes an issue that forceidle time can be inconsistant with other cputimes. Patch 2: cleans up the #ifdef mess in cpu.stat. Patch 3: extend run_delay accounting to cgroup to show how severely a cgroup is stalled. v2: - Fix internal function naming. (Michal Koutny) Abel Wu (3): cgroup/rstat: Fix forceidle time in cpu.stat cgroup/rstat: Cleanup cpu.stat once for all cgroup/rstat: Add run_delay accounting for cgroups Documentation/admin-guide/cgroup-v2.rst | 1 + include/linux/cgroup-defs.h | 3 + include/linux/kernel_stat.h | 14 +++++ kernel/cgroup/rstat.c | 75 ++++++++++++++++--------- kernel/sched/cputime.c | 12 ++++ kernel/sched/stats.h | 2 + 6 files changed, 79 insertions(+), 28 deletions(-) -- 2.37.3