linux/virt/kvm
Takuya Yoshikawa 6f9e5c1702 KVM: use kmalloc() for small dirty bitmaps
Currently we are using vmalloc() for all dirty bitmaps even if
they are small enough, say less than K bytes.

We use kmalloc() if dirty bitmap size is less than or equal to
PAGE_SIZE so that we can avoid vmalloc area usage for VGA.

This will also make the logging start/stop faster.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2011-01-12 11:28:48 +02:00
..
assigned-dev.c
async_pf.c KVM: Inject asynchronous page fault into a PV guest if page is swapped out. 2011-01-12 11:23:17 +02:00
async_pf.h KVM: Halt vcpu if page it tries to access is swapped out 2011-01-12 11:21:39 +02:00
coalesced_mmio.c
coalesced_mmio.h
eventfd.c KVM: fix irqfd assign/deassign race 2010-09-23 11:31:51 -03:00
ioapic.c
ioapic.h KVM: convert ioapic lock to spinlock 2010-05-13 01:23:55 -03:00
iodev.h
iommu.c
irq_comm.c KVM: fix typo in copyright notice 2010-10-24 10:53:14 +02:00
Kconfig KVM: Halt vcpu if page it tries to access is swapped out 2011-01-12 11:21:39 +02:00
kvm_main.c KVM: use kmalloc() for small dirty bitmaps 2011-01-12 11:28:48 +02:00