Re: [PATCH 0/4] cputime: Virtual cputime accounting small cleanups and consolidation

Benjamin Herrenschmidt
2012-07-09T21:04:25Z

On Mon, 2012-07-09 at 19:50 +0200, Frederic Weisbecker wrote:
> On Tue, Jun 19, 2012 at 03:43:07PM +0200, Frederic Weisbecker wrote:
> > 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
>
> Ping. Are you guys fine with the patchset?

Missed it somewhat. I'll have a look today.

(Poke me on IRC with a stick if you don't hear from me in time)

Cheers,
Ben.

> >
> > 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
> >