public inbox for cgroups@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix and cleanup and extend cpu.stat
@ 2025-01-23 17:47 Abel Wu
  2025-01-23 17:47 ` [PATCH 1/3] cgroup/rstat: Fix forceidle time in cpu.stat Abel Wu
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Abel Wu @ 2025-01-23 17:47 UTC (permalink / raw)
  To: Tejun Heo, Johannes Weiner, Michal Koutný, Jonathan Corbet,
	Ingo Molnar, Peter Zijlstra, Juri Lelli, Vincent Guittot,
	Dietmar Eggemann, Steven Rostedt, Ben Segall, Mel Gorman,
	Valentin Schneider, Bitao Hu, Thomas Gleixner, Andrew Morton,
	Yury Norov, Abel Wu, Chen Ridong
  Cc: open list:CONTROL GROUP (CGROUP), open list:DOCUMENTATION,
	open list

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.

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                   | 74 +++++++++++++++----------
 kernel/sched/cputime.c                  | 12 ++++
 kernel/sched/stats.h                    |  2 +
 6 files changed, 78 insertions(+), 28 deletions(-)

-- 
2.37.3


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-01-25  4:54 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-23 17:47 [PATCH 0/3] Fix and cleanup and extend cpu.stat Abel Wu
2025-01-23 17:47 ` [PATCH 1/3] cgroup/rstat: Fix forceidle time in cpu.stat Abel Wu
2025-01-24  1:47   ` chenridong
2025-01-24  7:49     ` Abel Wu
2025-01-24 23:49       ` Tejun Heo
2025-01-25  4:54         ` Abel Wu
2025-01-24  9:22   ` Michal Koutný
2025-01-24  9:58     ` Abel Wu
2025-01-24 10:39       ` Michal Koutný
2025-01-24 10:58         ` Abel Wu
2025-01-23 17:47 ` [PATCH 2/3] cgroup/rstat: Cleanup cpu.stat once for all Abel Wu
2025-01-24  9:22   ` Michal Koutný
2025-01-24 10:00     ` Abel Wu
2025-01-23 17:47 ` [PATCH 3/3] cgroup/rstat: Add run_delay accounting for cgroups Abel Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox