public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] cputime: Virtual cputime accounting small cleanups and consolidation
@ 2012-06-19 13:43 Frederic Weisbecker
  2012-06-19 13:43 ` [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING Frederic Weisbecker
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Frederic Weisbecker @ 2012-06-19 13:43 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner
  Cc: LKML, Frederic Weisbecker, Tony Luck, Fenghua Yu,
	Benjamin Herrenschmidt, Paul Mackerras, Martin Schwidefsky,
	Heiko Carstens, Peter Zijlstra

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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-08-03 11:12 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-19 13:43 [PATCH 0/4] cputime: Virtual cputime accounting small cleanups and consolidation Frederic Weisbecker
2012-06-19 13:43 ` [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING Frederic Weisbecker
2012-06-19 13:43 ` [PATCH 2/4] sched: Move cputime code to its own file Frederic Weisbecker
2012-06-19 13:43 ` [PATCH 3/4] cputime: Consolidate vtime handling on context switch Frederic Weisbecker
2012-06-19 13:43 ` [PATCH 4/4] s390: Remove leftover account_tick_vtime() header Frederic Weisbecker
2012-06-19 18:55 ` [PATCH 0/4] cputime: Virtual cputime accounting small cleanups and consolidation Luck, Tony
2012-06-20 22:26 ` Peter Zijlstra
2012-06-21  0:46   ` Frederic Weisbecker
2012-06-21  7:58     ` Martin Schwidefsky
2012-06-21 12:04       ` Peter Zijlstra
2012-06-21 16:37         ` Frederic Weisbecker
2012-06-21  8:30     ` Peter Zijlstra
2012-06-21  8:53       ` Peter Zijlstra
2012-07-09 17:50 ` Frederic Weisbecker
2012-07-09 21:03   ` Benjamin Herrenschmidt
2012-08-03 11:12   ` Frederic Weisbecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox