lkml.org 
[lkml]   [2012]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] cputime: Virtual cputime accounting small cleanups and consolidation
Date
Not sure to which tree this should go. The scheduler one may be.
Anyway if you're fine with it, it is pullable at:

git://github.com/fweisbec/linux-dynticks.git
virt-cputime

This is only built tested on the relevant archs.

I wish we could do more vtime cputime accounting consolidation
but archs do the things pretty differently although I bet the
behaviour could be more unified.


Frederic Weisbecker (4):
cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING
sched: Move cputime code to its own file
cputime: Consolidate vtime handling on context switch
s390: Remove leftover account_tick_vtime() header

arch/Kconfig | 3 +
arch/ia64/Kconfig | 12 +-
arch/ia64/include/asm/switch_to.h | 8 -
arch/ia64/kernel/time.c | 4 +-
arch/powerpc/include/asm/time.h | 6 -
arch/powerpc/kernel/process.c | 3 -
arch/powerpc/kernel/time.c | 6 +
arch/powerpc/platforms/Kconfig.cputype | 16 +-
arch/s390/Kconfig | 5 +-
arch/s390/include/asm/switch_to.h | 4 -
arch/s390/kernel/vtime.c | 4 +-
include/linux/kernel_stat.h | 6 +
init/Kconfig | 13 +
kernel/sched/Makefile | 2 +-
kernel/sched/core.c | 552 +-------------------------------
kernel/sched/cputime.c | 497 ++++++++++++++++++++++++++++
kernel/sched/sched.h | 63 ++++
17 files changed, 600 insertions(+), 604 deletions(-)
create mode 100644 kernel/sched/cputime.c

--
1.7.5.4



\
 
 \ /
  Last update: 2012-06-19 16:21    [W:0.821 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site