Re: [Qemu-devel] [PATCH 5/6] exec: Pass RAMBlock pointer to qemu_ram_free

2016-02-29 Thread Gonglei (Arei)
> Subject: [Qemu-devel] [PATCH 5/6] exec: Pass RAMBlock pointer to > qemu_ram_free > > The only caller now knows exactly which RAMBlock to free, so it's not > necessary to do the lookup. > > Signed-off-by: Fam Zheng > --- > exec.c | 21 +

[Qemu-devel] [PATCH 5/6] exec: Pass RAMBlock pointer to qemu_ram_free

2016-02-28 Thread Fam Zheng
The only caller now knows exactly which RAMBlock to free, so it's not necessary to do the lookup. Signed-off-by: Fam Zheng --- exec.c | 21 +++-- include/exec/ram_addr.h | 2 +- memory.c| 4 ++-- 3 files changed, 10 insertions(+), 17 deletions(-