Skip to content

cputime: A few tickless cputime accounting fixes and improvements

Frederic Weisbecker lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7cputime: Fix invalid gtime in prockernel/sched/cputime.c+3 -02 replies
2/7cputime: Remove extra cost in task_cputimekernel/sched/cputime.c+16 -00 replies
3/7cputime: Clarify vtime symbols and document theminclude/linux/sched.h kernel/fork.c kernel/sched/cputime.c+8 -50 replies
4/7cputime: Correctly handle task guest time on housekeeperskernel/sched/cputime.c+1 -10 replies
5/7cputime: Rename vtime_accounting_enabled to vtime_accounting_cpu_enabledinclude/linux/context_tracking.h include/linux/vtime.h kernel/sched/cputime.c +1 more+11 -110 replies
6/7cputime: Introduce vtime accounting check for readersinclude/linux/vtime.h kernel/sched/cputime.c+15 -44 replies
7/7cputime: Convert vtime_seqlock to seqcountinclude/linux/init_task.h include/linux/sched.h kernel/fork.c +1 more+27 -250 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/7] cputime: A few tickless cputime accounting fixes and improvements

The first two patches from Hiroshi Shimamoto are fixes to be backported. Although it's debatable whether the 2nd patch needs backport.

The patches that follow are further fixes and cleanups and the last one is an optimization.

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
cputime/fixes

HEAD: e4b430e6598cf6e069b08d7a81ee2ca75fe385f2

Thanks,
Frederic
---

Frederic Weisbecker (5):
cputime: Clarify vtime symbols and document them
cputime: Correctly handle task guest time on housekeepers
cputime: Rename vtime_accounting_enabled to vtime_accounting_cpu_enabled
cputime: Introduce vtime accounting check for readers
cputime: Convert vtime_seqlock to seqcount

Hiroshi Shimamoto (2):
cputime: Fix invalid gtime in proc
cputime: Remove extra cost in task_cputime

 include/linux/context_tracking.h |  4 +--
 include/linux/init_task.h        |  2 +-
 include/linux/sched.h            |  7 ++--
 include/linux/vtime.h            | 25 ++++++++++----
 kernel/fork.c                    |  4 +--
 kernel/sched/cputime.c           | 75 +++++++++++++++++++++++++---------------
 kernel/time/tick-sched.c         |  2 +-
 7 files changed, 77 insertions(+), 42 deletions(-)