Hi all, I found that the memory consumption increase about 5M since below commit on Qemu process.
commit 6731d864f80938e404dc3e5eb7f6b76b891e3e43 Author: Peter Crosthwaite <peter.crosthwa...@xilinx.com> Date: Thu Jan 21 14:15:06 2016 +0000 qom/cpu: Add MemoryRegion property Add a MemoryRegion property, which if set is used to construct the CPU's initial (default) AddressSpace. Signed-off-by: Peter Crosthwaite <peter.crosthwa...@xilinx.com> [PMM: code is moved from qom/cpu.c to exec.c to avoid having to make qom/cpu.o be a non-common object file; code to use the MemoryRegion and to default it to system_memory added.] Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Acked-by: Edgar E. Iglesias <edgar.igles...@xilinx.com> The result before this commit: linux-arei:/mnt/sdb/gonglei/opensource/qemu # ps aux|grep qemu root 12658 17.2 0.0 375996 21412 pts/1 Sl+ 12:53 0:00 ./x86_64-softmmu/qemu-system-x86_64 -machine pc-i440fx-2.5,accel=kvm,usb=off -nodefaults after the commit: linux-arei:/mnt/sdb/gonglei/opensource/qemu # ps aux|grep qemu root 23201 17.2 0.0 384196 25736 pts/1 Sl+ 12:54 0:00 ./x86_64-softmmu/qemu-system-x86_64 -machine pc-i440fx-2.5,accel=kvm,usb=off -nodefaults I couldn't find any benefits on x86 platform (I'm not familiar with ARM), am I missing something? And It works well if I revert this commit. Can I? Thanks, -Gonglei