Skip to content

sched/nohz: Make the rest of kcpustat vtime aware v3

Frederic Weisbecker lkml 1 version Applied

Status from this message: The following commit has been merged into the sched/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6sched/cputime: Support other fields on kcpustat_field()kernel/sched/cputime.c+43 -110 replies
2/6sched/vtime: Bring up complete kcpustat accessorinclude/linux/kernel_stat.h kernel/sched/cputime.c+123 -204 replies
3/6procfs: Use all-in-one vtime aware kcpustat accessorfs/proc/stat.c+30 -242 replies
4/6cpufreq: Use vtime aware kcpustat accessors for user timedrivers/cpufreq/cpufreq.c drivers/cpufreq/cpufreq_governor.c+13 -100 replies
5/6leds: Use all-in-one vtime aware kcpustat accessordrivers/leds/trigger/ledtrig-activity.c+9 -53 replies
6/6rackmeter: Use vtime aware kcpustat accessordrivers/macintosh/rack-meter.c+4 -30 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/6] sched/nohz: Make the rest of kcpustat vtime aware v3

(For the record, see v2 at
https://lore.kernel.org/lkml/[email protected]/ )

This set addresses reviews from Ingo on previous take:

* Fix comment nit
* Remind in comment about the reschedule IPI that may happen on renice
* Constify input
* Indent a few blocks of assignments
* Use struct kernel_cpustat as an output for kcpustat accessor. It makes things easier and cleaner than the independant variables.

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
nohz/kcpustat-v5

HEAD: 8941f0df7da73e1d95f0c0bed0121a14cdb52873

Thanks,
Frederic
---

Frederic Weisbecker (6):
sched/cputime: Support other fields on kcpustat_field() sched/vtime: Bring up complete kcpustat accessor
procfs: Use all-in-one vtime aware kcpustat accessor
cpufreq: Use vtime aware kcpustat accessors for user time
leds: Use all-in-one vtime aware kcpustat accessor
rackmeter: Use vtime aware kcpustat accessor

 drivers/cpufreq/cpufreq.c               |  17 +--
 drivers/cpufreq/cpufreq_governor.c      |   6 +-
 drivers/leds/trigger/ledtrig-activity.c |  14 ++-
 drivers/macintosh/rack-meter.c          |   7 +-
 fs/proc/stat.c                          |  56 +++++-----
 include/linux/kernel_stat.h             |   7 ++
 kernel/sched/cputime.c                  | 190 ++++++++++++++++++++++++++------
 7 files changed, 223 insertions(+), 74 deletions(-)