android_kernel_motorola_sm6225/arch
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
..
alpha [PATCH] fixing includes in alpha_ksyms.c 2006-10-12 12:25:27 -07:00
arm [PATCH] one more ARM IRQ fix 2006-10-20 10:26:44 -07:00
arm26 [PATCH] remove bogus arch-specific syscall exports 2006-10-11 11:17:07 -07:00
avr32 [PATCH] IRQ: Fix AVR32 breakage 2006-10-11 11:14:14 -07:00
cris more misc typo fixes 2006-10-03 22:34:14 +02:00
frv IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
h8300 Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
i386 [PATCH] x86: Revert new unwind kernel stack termination 2006-10-21 18:37:02 +02:00
ia64 [IA64] Count resched interrupts 2006-10-17 15:03:08 -07:00
m32r [PATCH] m32r: more __user annotations 2006-10-11 11:17:06 -07:00
m68k [PATCH] clean m68k ksyms 2006-10-11 11:17:06 -07:00
m68knommu [PATCH] m68knommu: sync syscalls with m68k 2006-10-13 08:35:39 -07:00
mips [MIPS] Fix aliasing bug in copy_to_user_page / copy_from_user_page 2006-10-21 23:17:35 +01:00
parisc [PATCH] remove bogus arch-specific syscall exports 2006-10-11 11:17:07 -07:00
powerpc [POWERPC] Simplify stolen time calculation 2006-10-23 18:20:12 +10:00
ppc [POWERPC] ppc: Add missing calls to set_irq_regs 2006-10-16 15:52:14 +10:00
s390 [S390] update default configuration 2006-10-18 18:30:59 +02:00
sh sh: SH-4A UBC support 2006-10-12 12:16:13 +09:00
sh64 fix file specification in comments 2006-10-03 23:01:26 +02:00
sparc [SPARC]: Sparc compilation fix with floppy enabled 2006-10-17 19:28:54 -07:00
sparc64 [SPARC64]: Fix of_ioremap(). 2006-10-19 17:20:31 -07:00
um [PATCH] uml: mmapper - remove just added but wrong "const" attribute 2006-10-20 10:26:36 -07:00
v850 Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
x86_64 [PATCH] x86-64: increase PHB1 split transaction timeout 2006-10-22 00:41:15 +02:00
xtensa fix file specification in comments 2006-10-03 23:01:26 +02:00