No description
Find a file
Peter Lieven fc1c4a5d32 migration: drop MADVISE_DONT_NEED for incoming zero pages
The madvise for zeroed out pages was introduced when every transferred
zero page was memset to zero and thus allocated. Since commit
211ea740 we check for zeroness of a target page before we memset
it to zero. Additionally we memmap target memory so it is essentially
zero initialized (except for e.g. option roms and bios which are loaded
into target memory although they shouldn't).

It was reported recently that this madvise causes a performance degradation
in some situations. As the madvise should only be called rarely and if it's called
it is likely on a busy page (it was non-zero and changed to zero during migration)
drop it completely.

Reported-By: Zhang Haoyu <haoyu.zhang@huawei.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2013-11-19 17:23:57 +01:00
audio ossaudio: check for oss support in oss_audio_init 2013-11-07 12:26:00 +01:00
backends
block block: vhdx - add .bdrv_create() support 2013-11-07 13:58:59 +01:00
bsd-user
default-configs arm11mpcore: Split off SCU device 2013-11-05 17:47:30 +01:00
disas
docs docs/memory.txt: Clarify and expand priority/overlap documentation 2013-11-05 19:59:24 -08:00
dtc@bc895d6d09
fpu
fsdev
gdb-xml
hw pci, pc, virtio bug fixes 2013-11-13 11:48:35 -08:00
include pci, pc, virtio bug fixes 2013-11-13 11:48:35 -08:00
libcacard
linux-headers
linux-user linux-user: Fix stat64 syscall for SPARC64 2013-11-07 07:02:44 +01:00
net net: fix qemu_flush_queued_packets() in presence of a hub 2013-11-08 17:32:34 +01:00
pc-bios
pixman@97336fad32
po
qapi qapi: fix memleak by adding implict struct functions in dealloc visitor 2013-11-05 19:58:38 -08:00
qga
qobject
qom pci, pc, acpi fixes, enhancements 2013-10-31 16:58:32 +01:00
roms
scripts Adjust qapi-visit for python-2.4.3 2013-11-11 10:02:21 -05:00
slirp
stubs
sysconfigs/target
target-alpha
target-arm target-arm: fix sorting issue of KVM cpreg list 2013-10-31 14:00:16 +01:00
target-cris
target-i386
target-lm32
target-m68k
target-microblaze
target-mips
target-moxie
target-openrisc
target-ppc
target-s390x
target-sh4
target-sparc
target-unicore32
target-xtensa target-xtensa: add missing DEBUG section to dc233c config 2013-11-08 09:26:07 +04:00
tcg
tests block: vhdx qemu-iotest - log replay of data sector 2013-11-07 13:58:59 +01:00
trace
ui sdl: Reverse support for video mode setting 2013-11-06 21:47:13 -08:00
util
.exrc
.gitignore
.gitmodules
.mailmap
aio-posix.c
aio-win32.c
arch_init.c migration: drop MADVISE_DONT_NEED for incoming zero pages 2013-11-19 17:23:57 +01:00
async.c
balloon.c
block-migration.c
block.c block: Round up total_sectors 2013-11-08 10:44:24 +01:00
blockdev-nbd.c
blockdev.c blockdev: fix drive_init() opts and bs_opts leaks 2013-11-07 13:53:31 +01:00
blockjob.c
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure Merge remote-tracking branch 'stefanha/block' into staging 2013-11-13 11:47:44 -08:00
COPYING
COPYING.LIB
coroutine-gthread.c
coroutine-sigaltstack.c
coroutine-ucontext.c
coroutine-win32.c
cpu-exec.c
cpus.c timers: fix stop/cont with -icount 2013-11-06 21:47:05 -08:00
cputlb.c
device-hotplug.c
device_tree.c
disas.c
dma-helpers.c
dump.c
exec.c pci, pc, virtio bug fixes 2013-11-13 11:48:35 -08:00
gdbstub.c vl: allow "cont" from panicked state 2013-11-04 15:39:41 +02:00
HACKING
hmp-commands.hx
hmp.c
hmp.h
iohandler.c
ioport.c
kvm-all.c
kvm-stub.c
LICENSE
main-loop.c
MAINTAINERS MAINTAINERS: add git tree info for HMP, QMP and QAPI 2013-11-11 10:02:21 -05:00
Makefile configure: Add config.status to recreate the current configuration 2013-11-07 07:02:44 +01:00
Makefile.objs
Makefile.target
memory.c pci, pc, acpi fixes, enhancements 2013-10-31 16:58:32 +01:00
memory_mapping.c
migration-exec.c
migration-fd.c
migration-rdma.c
migration-tcp.c
migration-unix.c
migration.c
monitor.c Merge remote-tracking branch 'agraf/ppc-for-upstream' into staging 2013-10-31 17:01:12 +01:00
nbd.c
os-posix.c
os-win32.c
page_cache.c
qapi-schema.json qapi: Fix comment for create-type to match code. 2013-11-07 13:53:30 +01:00
qdev-monitor.c qdev-monitor: Inline qdev_init() for device_add 2013-11-05 18:06:51 +01:00
qdict-test-data.txt
qemu-bridge-helper.c
qemu-char.c
qemu-coroutine-io.c
qemu-coroutine-lock.c
qemu-coroutine-sleep.c coroutine: add co_aio_sleep_ns() to allow sleep in block drivers 2013-10-30 12:22:09 +01:00
qemu-coroutine.c
qemu-doc.texi
qemu-img-cmds.hx
qemu-img.c
qemu-img.texi
qemu-io-cmds.c
qemu-io.c
qemu-log.c
qemu-nbd.c
qemu-nbd.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx
qemu-seccomp.c
qemu-tech.texi
qemu-timer.c
qemu.nsi nsis: Improved support for parallel installation of 32 and 64 bit code 2013-11-07 07:02:44 +01:00
qemu.sasl
qmp-commands.hx
qmp.c
qtest.c
readline.c
README
rules.mak
savevm.c
spice-qemu-char.c
tcg-runtime.c
tci.c
thread-pool.c
thunk.c
tpm.c
trace-events
translate-all.c
translate-all.h
user-exec.c
VERSION Update version for 1.7.0-rc0 release 2013-11-06 21:49:39 -08:00
version.rc
vl.c vl: allow "cont" from panicked state 2013-11-04 15:39:41 +02:00
xbzrle.c
xen-all.c
xen-mapcache.c
xen-stub.c

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team