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

2017-03-10 Thread Paolo Bonzini
On 10/03/2017 14:44, 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 > --- > memory.c | 2 +-

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

2017-03-09 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -