[GIT PULL] cputime: Scaled cputime optimizations and cleanups

From: Frederic Weisbecker
Date: Mon Nov 14 2016 - 21:07:16 EST


Ingo,

Please pull the sched/cputime branch that can be found at:

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

HEAD: bb953cdfa26c25e42beb748e7be71ea3d4927186

This set removes the dead arch and core code handling scaled cputime and
optimize the most common case where archs don't support scaled frequency
accounting.

Thanks,
Frederic
---

Stanislaw Gruszka (4):
cputime/powerpc: Remove cputime_last_delta global variable
cputime/powerpc: Remove cputime_to_scaled()
cputime/powerpc/s390: Make scaled cputime arch specific
cputime: Simplify task_cputime()


arch/Kconfig | 3 +
arch/ia64/kernel/time.c | 4 +-
arch/powerpc/Kconfig | 1 +
arch/powerpc/include/asm/cputime.h | 14 ----
arch/powerpc/kernel/time.c | 8 +--
arch/s390/Kconfig | 1 +
arch/s390/kernel/vtime.c | 9 ++-
arch/x86/kernel/apm_32.c | 4 +-
include/asm-generic/cputime_jiffies.h | 1 -
include/asm-generic/cputime_nsecs.h | 1 -
include/linux/kernel_stat.h | 4 +-
include/linux/sched.h | 35 ++++++----
kernel/fork.c | 2 +
kernel/sched/cputime.c | 124 +++++++++-------------------------
kernel/time/posix-cpu-timers.c | 4 +-
15 files changed, 78 insertions(+), 137 deletions(-)