Messages in this thread | | | From | Frederic Weisbecker <> | Subject | [PATCH 0/9] sched/nohz: Make the rest of kcpustat vtime aware | Date | Wed, 6 Nov 2019 04:07:58 +0100 |
| |
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/20181120141754.GW2131@hirez.programming.kicks-ass.net/) 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(-)
| |