sched/nohz: Make the rest of kcpustat vtime aware
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | sched/cputime: Allow to pass cputime index on user/guest accountingkernel/ | +32 | 0 replies | |
| 2/9 | sched/cputime: Standardize the kcpustat index based accounting functionsarch/ arch/ arch/ +2 more | +19 | 0 replies | |
| 3/9 | sched/vtime: Handle nice updates under vtimeinclude/ include/ kernel/ +2 more | +159 | 5 replies | |
| 4/9 | sched/cputime: Support other fields on kcpustat_field()kernel/ | +33 | 0 replies | |
| 5/9 | sched/vtime: Bring all-in-one kcpustat accessor for vtime fieldsinclude/ kernel/ | +141 | 0 replies | |
| 6/9 | procfs: Use all-in-one vtime aware kcpustat accessorfs/ | +10 | 0 replies | |
| 7/9 | cpufreq: Use vtime aware kcpustat accessors for user timedrivers/ drivers/ | +12 | 0 replies | |
| 8/9 | leds: Use all-in-one vtime aware kcpustat accessordrivers/ | +6 | 0 replies | |
| 9/9 | rackmeter: Use vtime aware kcpustat accessordrivers/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] sched/nohz: Make the rest of kcpustat vtime aware
So we fixed CPUTIME_SYSTEM on nohz_full, now is the turn for CPUTIME_USER, CPUTIME_NICE, CPUTIME_GUEST and CPUTIME_GUEST_NICE.
The tricky piece was to handle "nice-ness" correctly. I think I addressed most reviews (one year ago now) from peterz
(https://lore.kernel.org/lkml/[email protected]/)
Among which:
* Merge patches that didn't make sense together
* Clarify the changelog (I hope) and add comments
* Also hook nice updates on __setscheduler_params()
* Uninline a big function
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
nohz/kcpustat-v3
HEAD: cfd377b0f261f1107ba5f3d2cf68a8ac5f359943
Thanks,
Frederic
---
Frederic Weisbecker (9):
sched/cputime: Allow to pass cputime index on user/guest accounting sched/cputime: Standardize the kcpustat index based accounting functions sched/vtime: Handle nice updates under vtime
sched/cputime: Support other fields on kcpustat_field() sched/vtime: Bring all-in-one kcpustat accessor for vtime fields
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
arch/ia64/kernel/time.c | 6 +- arch/powerpc/kernel/time.c | 6 +- arch/s390/kernel/vtime.c | 2 +- drivers/cpufreq/cpufreq.c | 13 +- drivers/cpufreq/cpufreq_governor.c | 6 +- drivers/leds/trigger/ledtrig-activity.c | 9 +- drivers/macintosh/rack-meter.c | 7 +- fs/proc/stat.c | 20 +- include/linux/kernel_stat.h | 25 ++- include/linux/sched.h | 1 + include/linux/vtime.h | 2 + kernel/sched/core.c | 16 +- kernel/sched/cputime.c | 378 ++++++++++++++++++++++++++------ kernel/sched/sched.h | 18 ++ 14 files changed, 412 insertions(+), 97 deletions(-)