public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Fix and cleanup and extend cpu.stat
@ 2025-01-25  5:25 Abel Wu
  2025-01-25  5:25 ` [PATCH v2 1/3] cgroup/rstat: Fix forceidle time in cpu.stat Abel Wu
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Abel Wu @ 2025-01-25  5:25 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, Andrew Morton, Yury Norov, Abel Wu,
	Thomas Gleixner, Bitao Hu, 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.

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


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

end of thread, other threads:[~2025-02-21 15:36 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-25  5:25 [PATCH v2 0/3] Fix and cleanup and extend cpu.stat Abel Wu
2025-01-25  5:25 ` [PATCH v2 1/3] cgroup/rstat: Fix forceidle time in cpu.stat Abel Wu
2025-01-25  5:25 ` [PATCH v2 2/3] cgroup/rstat: Cleanup cpu.stat once for all Abel Wu
2025-01-27 20:17   ` Tejun Heo
2025-01-29  4:47     ` Abel Wu
2025-01-25  5:25 ` [PATCH v2 3/3] cgroup/rstat: Add run_delay accounting for cgroups Abel Wu
2025-01-27 14:10   ` Michal Koutný
2025-01-29  4:48     ` Abel Wu
2025-02-10 15:38       ` Michal Koutný
2025-02-10 16:20         ` Tejun Heo
2025-02-10 18:25           ` Johannes Weiner
2025-02-12 15:17             ` Abel Wu
2025-02-21 15:36             ` Michal Koutný
2025-02-12 15:14           ` Abel Wu
2025-02-12 15:12         ` Abel Wu
2025-02-03  8:11 ` [PATCH v2 0/3] Fix and cleanup and extend cpu.stat Abel Wu
2025-02-04 20:46   ` Tejun Heo
2025-02-05  2:42     ` Abel Wu
2025-02-10  8:51     ` Abel Wu
2025-02-19  2:34 ` Abel Wu

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