Skip to content

cputime: Cleanups on adjusted cputime code v2

Frederic Weisbecker lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cputime: Move thread_group_cputime() to sched codekernel/posix-cpu-timers.c kernel/sched/cputime.c+28 -240 replies
2/4cputime: Rename thread_group_times to thread_group_cputime_adjustedfs/proc/array.c include/linux/sched.h kernel/exit.c +2 more+13 -130 replies
3/4cputime: Consolidate cputime adjustment codeinclude/linux/sched.h kernel/fork.c kernel/sched/cputime.c+43 -280 replies
4/4cputime: Comment cputime's adjusting codekernel/sched/cputime.c+16 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] cputime: Cleanups on adjusted cputime code v2

Hi,

Changes since v1 address Steven Rostedt and Paul Gortmaker reviews:

- More comments to distinguish struct cputime / struct task_cputime [3/4]
- Comment the reasons and the details for cputime adjustment [4/4]

Thanks.

Frederic Weisbecker (4):
cputime: Move thread_group_cputime() to sched code
cputime: Rename thread_group_times to thread_group_cputime_adjusted
cputime: Consolidate cputime adjustment code
cputime: Comment cputime's adjusting code

 fs/proc/array.c           |    4 +-
 include/linux/sched.h     |   27 ++++++++++---
 kernel/exit.c             |    4 +-
 kernel/fork.c             |    2 +-
 kernel/posix-cpu-timers.c |   24 -----------
 kernel/sched/cputime.c    |   98 ++++++++++++++++++++++++++++++++-------------
 kernel/sys.c              |    6 +-
 7 files changed, 99 insertions(+), 66 deletions(-)
Signature · 1 line
1.7.5.4