[PATCH v4 0/2] Fix and extend cpu.stat
From: Abel Wu
Date: Sun Feb 09 2025 - 01:13:42 EST
Patch 1: fixes an issue that forceidle time can be inconsistant with
other cputimes.
Patch 2: extend run_delay accounting to cgroup to show how severely
a cgroup is stalled.
v4:
- Fixed a Kconfig dependency issue. (0day robot)
v3:
- Dropped the cleanup patch. (Tejun)
- Modified 2nd patch's commit log.
v2:
- Fixed internal function naming. (Michal Koutny)
Abel Wu (2):
cgroup/rstat: Fix forceidle time in cpu.stat
cgroup/rstat: Add run_delay accounting for cgroups
include/linux/cgroup-defs.h | 3 +++
include/linux/kernel_stat.h | 7 +++++
kernel/cgroup/rstat.c | 54 ++++++++++++++++++++++++++-----------
kernel/sched/cputime.c | 10 +++++++
kernel/sched/stats.h | 3 +++
5 files changed, 61 insertions(+), 16 deletions(-)
--
2.37.3