diff options
author | Alex Williamson | 2011-05-03 20:36:58 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2011-06-12 09:33:27 +0200 |
commit | 2173a75fb714193c4df9d5ddf9d015786566b19a (patch) | |
tree | 68190158266dade7b802484acd626ba67c799c57 /hw/pci.c | |
parent | ich/ahci: fix uninitialized memory use (diff) | |
download | qemu-2173a75fb714193c4df9d5ddf9d015786566b19a.tar.gz qemu-2173a75fb714193c4df9d5ddf9d015786566b19a.tar.xz qemu-2173a75fb714193c4df9d5ddf9d015786566b19a.zip |
CPUPhysMemoryClient: batch addresses in catchup
When a phys memory client registers and we play catchup by walking
the page tables, we can make a huge improvement in the number of
times the set_memory callback is called by batching contiguous
pages together. With a 4G guest, this reduces the number of callbacks
at registration from 1048866 to 296.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci.c')
0 files changed, 0 insertions, 0 deletions