Re: [Qemu-devel] [PATCH 06/15] memory: protect current_map by RCU

2015-01-25 Thread Fam Zheng
On Thu, 01/22 15:47, Paolo Bonzini wrote: > Replace the flat_view_mutex by RCU, avoiding futex contention for > dataplane on large systems and many iothreads. > > Signed-off-by: Paolo Bonzini > --- > include/exec/memory.h | 5 + > memory.c | 54 > ++

[Qemu-devel] [PATCH 06/15] memory: protect current_map by RCU

2015-01-22 Thread Paolo Bonzini
Replace the flat_view_mutex by RCU, avoiding futex contention for dataplane on large systems and many iothreads. Signed-off-by: Paolo Bonzini --- include/exec/memory.h | 5 + memory.c | 54 ++- 2 files changed, 28 insertions(+), 3