linux-stable/arch
Laszlo Ersek cb70918017 xen/time: remove blocked time accounting from xen "clockchip"
commit 0b0c002c34 upstream.

... because the "clock_event_device framework" already accounts for idle
time through the "event_handler" function pointer in
xen_timer_interrupt().

The patch is intended as the completion of [1]. It should fix the double
idle times seen in PV guests' /proc/stat [2]. It should be orthogonal to
stolen time accounting (the removed code seems to be isolated).

The approach may be completely misguided.

[1] https://lkml.org/lkml/2011/10/6/10
[2] http://lists.xensource.com/archives/html/xen-devel/2010-08/msg01068.html

John took the time to retest this patch on top of v3.10 and reported:
"idle time is correctly incremented for pv and hvm for the normal
case, nohz=off and nohz=idle." so lets put this patch in.

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: John Haxby <john.haxby@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-07-20 17:16:07 -07:00
..
alpha alpha: irq: remove deprecated use of IRQF_DISABLED 2013-04-07 12:59:30 -07:00
arc ARC: copy_(to|from)_user() to honor usermode-access permissions 2013-06-07 12:52:26 -07:00
arm ARM: 7772/1: Fix missing flush_kernel_dcache_page() for noMMU 2013-07-03 10:55:20 -07:00
arm64 perf: arm64: Record the user-mode PC in the call chain. 2013-06-27 10:38:23 -07:00
avr32 avr32: fix relocation check for signed 18-bit offset 2013-06-07 12:52:22 -07:00
blackfin Select VIRT_TO_BUS directly where needed 2013-03-12 11:16:40 -07:00
c6x add memory barrier to arch_local_irq_restore 2013-04-09 15:35:46 -04:00
cris Select VIRT_TO_BUS directly where needed 2013-03-12 11:16:40 -07:00
frv Select VIRT_TO_BUS directly where needed 2013-03-12 11:16:40 -07:00
h8300 Select VIRT_TO_BUS directly where needed 2013-03-12 11:16:40 -07:00
hexagon Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
ia64 Wrong asm register contraints in the kvm implementation 2013-05-07 20:33:09 -07:00
m32r UAPI: fix endianness conditionals in M32R's asm/stat.h 2013-03-13 15:21:49 -07:00
m68k m68k/mac: Fix unexpected interrupt with CONFIG_EARLY_PRINTK 2013-06-07 12:53:05 -07:00
metag metag: Inhibit NUMA balancing. 2013-03-04 10:29:19 +00:00
microblaze Select VIRT_TO_BUS directly where needed 2013-03-12 11:16:40 -07:00
mips Revert "MIPS: page.h: Provide more readable definition for PAGE_MASK." 2013-04-22 18:09:35 +02:00
mn10300 Select VIRT_TO_BUS directly where needed 2013-03-12 11:16:40 -07:00
openrisc openrisc: remove HAVE_VIRT_TO_BUS 2013-03-13 06:12:39 +01:00
parisc parisc: provide pci_mmap_page_range() for parisc 2013-06-27 10:38:44 -07:00
powerpc powerpc/eeh: Fix fetching bus for single-dev-PE 2013-07-03 10:55:23 -07:00
s390 s390/irq: Only define synchronize_irq() on SMP 2013-07-03 10:55:21 -07:00
score Select VIRT_TO_BUS directly where needed 2013-03-12 11:16:40 -07:00
sh hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
sparc sparc64: Fix missing put_cpu_var() in tlb_batch_add_one() when not batching. 2013-04-24 16:52:18 -07:00
tile tilepro: work around module link error with gcc 4.7 2013-06-27 10:38:25 -07:00
um um: Use tty_port in SIGWINCH handler 2013-03-11 10:08:04 +01:00
unicore32 Select VIRT_TO_BUS directly where needed 2013-03-12 11:16:40 -07:00
x86 xen/time: remove blocked time accounting from xen "clockchip" 2013-07-20 17:16:07 -07:00
xtensa Select VIRT_TO_BUS directly where needed 2013-03-12 11:16:40 -07:00
.gitignore
Kconfig Select VIRT_TO_BUS directly where needed 2013-03-12 11:16:40 -07:00