mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Fix and extend cpu.stat
@ 2025-02-07  4:09 Abel Wu
  2025-02-07  4:10 ` [PATCH v3 1/2] cgroup/rstat: Fix forceidle time in cpu.stat Abel Wu
  2025-02-07  4:10 ` [PATCH v3 2/2] cgroup/rstat: Add run_delay accounting for cgroups Abel Wu
  0 siblings, 2 replies; 5+ messages in thread
From: Abel Wu @ 2025-02-07  4:09 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, Thomas Gleixner, Bitao Hu, Andrew Morton,
	Abel Wu, Yury Norov, 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.

v3:
 - Drop the cleanup patch. (Tejun)
 - Modified 2nd patch's commit log.
v2:
 - Fix 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 | 14 ++++++++++
 kernel/cgroup/rstat.c       | 54 ++++++++++++++++++++++++++-----------
 kernel/sched/cputime.c      | 12 +++++++++
 kernel/sched/stats.h        |  3 +++
 5 files changed, 70 insertions(+), 16 deletions(-)

-- 
2.37.3


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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-07  4:09 [PATCH v3 0/2] Fix and extend cpu.stat Abel Wu
2025-02-07  4:10 ` [PATCH v3 1/2] cgroup/rstat: Fix forceidle time in cpu.stat Abel Wu
2025-02-07  4:10 ` [PATCH v3 2/2] cgroup/rstat: Add run_delay accounting for cgroups Abel Wu
2025-02-08  5:47   ` kernel test robot
2025-02-08 15:58     ` 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®