[Qemu-devel] [PULL 07/11] memory: avoid ref/unref in memory_region_find

2015-01-30 Thread Paolo Bonzini
Do the entire lookup under RCU, which avoids atomic operations in flatview_ref and flatview_unref. Reviewed-by: Fam Zheng Signed-off-by: Paolo Bonzini --- memory.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/memory.c b/memory.c index a844ced..9b91243 100644 --

[Qemu-devel] [PULL 07/11] memory: avoid ref/unref in memory_region_find

2015-01-30 Thread Paolo Bonzini
Do the entire lookup under RCU, which avoids atomic operations in flatview_ref and flatview_unref. Reviewed-by: Fam Zheng Signed-off-by: Paolo Bonzini --- memory.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/memory.c b/memory.c index a844ced..9b91243 100644 --