original_kernel/arch
Jan Kiszka f7104db26a KVM: Fix racy event propagation in timer
Minor issue that likely had no practical relevance: the kvm timer
function so far incremented the pending counter and then may reset it
again to 1 in case reinjection was disabled. This opened a small racy
window with the corresponding VCPU loop that may have happened to run
on another (real) CPU and already consumed the value.

Fix it by skipping the incrementation in case pending is already > 0.
This opens a different race windows, but may only rarely cause lost
events in case we do not care about them anyway (!reinject).

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2009-09-10 08:32:57 +03:00
..
alpha
arm [ARM] Kirkwood: enable eSATA on QNAP TS-219P 2009-08-24 11:56:00 -04:00
avr32 Merge git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6 2009-08-24 12:26:48 -07:00
blackfin
cris
frv
h8300
ia64 KVM: Use macro to iterate over vcpus. 2009-09-10 08:32:52 +03:00
m32r
m68k m68k,m68knommu: Wire up rt_tgsigqueueinfo and perf_counter_open 2009-08-26 23:14:50 +02:00
m68knommu m68k,m68knommu: Wire up rt_tgsigqueueinfo and perf_counter_open 2009-08-26 23:14:50 +02:00
microblaze
mips
mn10300
parisc parisc: fix warning in traps.c 2009-08-28 19:37:20 -10:00
powerpc KVM: Use macro to iterate over vcpus. 2009-09-10 08:32:52 +03:00
s390 KVM: Use macro to iterate over vcpus. 2009-09-10 08:32:52 +03:00
sh
sparc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2009-09-05 13:49:06 -07:00
um
x86 KVM: Fix racy event propagation in timer 2009-09-10 08:32:57 +03:00
xtensa
.gitignore
Kconfig