mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Fix and extend cpu.stat
@ 2025-02-09  6:13 Abel Wu
  2025-02-09  6:13 ` [PATCH v4 1/2] cgroup/rstat: Fix forceidle time in cpu.stat Abel Wu
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Abel Wu @ 2025-02-09  6:13 UTC (permalink / raw)
  To: Johannes Weiner, Tejun Heo, Michal Koutný,
	Ingo Molnar, Peter Zijlstra, Juri Lelli, Vincent Guittot,
	Dietmar Eggemann, Steven Rostedt, Ben Segall, Mel Gorman,
	Valentin Schneider, Yury Norov, Andrew Morton, Thomas Gleixner,
	Bitao Hu, Abel Wu, Chen Ridong
  Cc: open list:CONTROL GROUP (CGROUP), open list

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


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

end of thread, other threads:[~2025-02-27 17:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-09  6:13 [PATCH v4 0/2] Fix and extend cpu.stat Abel Wu
2025-02-09  6:13 ` [PATCH v4 1/2] cgroup/rstat: Fix forceidle time in cpu.stat Abel Wu
2025-02-27 10:37   ` Abel Wu
2025-02-27 17:19   ` Tejun Heo
2025-02-09  6:13 ` [PATCH v4 2/2] cgroup/rstat: Add run_delay accounting for cgroups Abel Wu
2025-02-21 15:41 ` [PATCH v4 0/2] Fix and extend cpu.stat Michal Koutný
2025-02-27 10:35   ` Abel Wu

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

all inboxes | Powered by JetHome®