Re: [Qemu-devel] [PATCH] memory: reduce heap Rss size around 3M

2017-03-09 Thread Paolo Bonzini
On 08/03/2017 12:17, Philippe Mathieu-Daudé wrote: > On 03/08/2017 12:11 PM, Yang Zhong wrote: >> Since cpu-memory and memory have same address space,one malloced >> memory is enough. This patch will skip memory malloc for memory >> address space,which will reduce around 3M physical memory in hea

Re: [Qemu-devel] [PATCH] memory: reduce heap Rss size around 3M

2017-03-08 Thread Philippe Mathieu-Daudé
On 03/08/2017 12:11 PM, Yang Zhong wrote: Since cpu-memory and memory have same address space,one malloced memory is enough. This patch will skip memory malloc for memory address space,which will reduce around 3M physical memory in heap. Signed-off-by: Yang Zhong Reviewed-by: Philippe Mathieu

[Qemu-devel] [PATCH] memory: reduce heap Rss size around 3M

2017-03-08 Thread Yang Zhong
Since cpu-memory and memory have same address space,one malloced memory is enough. This patch will skip memory malloc for memory address space,which will reduce around 3M physical memory in heap. Signed-off-by: Yang Zhong --- memory.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-)