android_kernel_xiaomi_sm8350/virt/kvm
Avi Kivity 105f8d40a7 KVM: Calculate available entries in coalesced mmio ring
Instead of checking whether we'll wrap around, calculate how many entries
are available, and check whether we have enough (just one) for the pending
mmio.

By itself, this doesn't change anything, but it paves the way for making
this function lockless.

Signed-off-by: Avi Kivity <avi@redhat.com>
2009-09-10 08:32:47 +03:00
..
coalesced_mmio.c KVM: Calculate available entries in coalesced mmio ring 2009-09-10 08:32:47 +03:00
coalesced_mmio.h
eventfd.c KVM: irqfd 2009-09-10 08:32:41 +03:00
ioapic.c KVM: cleanup io_device code 2009-09-10 08:32:45 +03:00
ioapic.h
iodev.h KVM: cleanup io_device code 2009-09-10 08:32:45 +03:00
iommu.c
irq_comm.c KVM: fix ack not being delivered when msi present 2009-08-05 14:03:43 +03:00
Kconfig KVM: irqfd 2009-09-10 08:32:41 +03:00
kvm_main.c KVM: cleanup io_device code 2009-09-10 08:32:45 +03:00
kvm_trace.c