lkml.org 
[lkml]   [2019]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH 0/9] sched/nohz: Make the rest of kcpustat vtime aware
    Date
    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(-)

    \
     
     \ /
      Last update: 2019-11-06 04:19    [W:2.684 / U:0.100 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site