alistair23-linux/arch/powerpc
Stephen Rothwell cbcdb93d44 [POWERPC] Simplify stolen time calculation
In calculating stolen time, we were trying to actually account for time
spent in the hypervisor.  We don't really have enough information to do
that accurately, so don't try.  Instead, we now calculate stolen time as
time that the current cpu thread is not actually dispatching instructions.
On chips without a PURR, we cannot do this, so stolen time will always
be zero.  On chips with a PURR, this is merely the difference between
the elapsed PURR values and the elapsed TB values.

This gives us much more sane vaules from tools such as mpstat, even if
they are still a bit strange e.g. 2 busy threads on one cpu will both
appear to have 50% user time and 50% stolen time while 1 busy thread on
a cpu will look like 100% user on one of them and 100% idle on the other.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-10-23 18:20:12 +10:00
..
boot [POWERPC] cell: fix default zImage build target 2006-10-10 11:54:26 +10:00
configs [PATCH] Reintroduce NODES_SPAN_OTHER_NODES for powerpc 2006-10-21 13:35:06 -07:00
kernel [POWERPC] Simplify stolen time calculation 2006-10-23 18:20:12 +10:00
lib [POWERPC] Fix rheap alignment problem 2006-10-02 20:27:47 +10:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm [PATCH] mm: use symbolic names instead of indices for zone initialisation 2006-10-11 11:14:14 -07:00
oprofile fix file specification in comments 2006-10-03 23:01:26 +02:00
platforms [POWERPC] Add Makefile entry for MPC832x_mds support 2006-10-16 15:53:30 +10:00
sysdev [HEADERS] Put linux/config.h out of its misery. 2006-10-09 19:13:51 -04:00
xmon [POWERPC] Fix xmon IRQ handler for pt_regs removal 2006-10-10 11:47:07 +10:00
Kconfig [PATCH] Reintroduce NODES_SPAN_OTHER_NODES for powerpc 2006-10-21 13:35:06 -07:00
Kconfig.debug [POWERPC] print backtrace when entering xmon 2006-09-13 18:39:53 +10:00
Makefile [POWERPC] Create a "wrapper" script and use it in arch/powerpc/boot 2006-09-28 14:30:02 +10:00